Dont publish dev docker images with drone.

This commit is contained in:
Dessalines 2021-11-05 17:22:39 -04:00
parent b4013b297d
commit 6b7cfea5bf

View file

@ -62,38 +62,6 @@ steps:
- yarn - yarn
- yarn api-test - yarn api-test
- name: publish dev docker image
image: plugins/docker
settings:
dockerfile: docker/prod/Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: dessalines/lemmy
tags:
- dev-linux-amd64
when:
ref:
- refs/heads/main
- name: publish dev docker manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy:dev"
template: "dessalines/lemmy:dev-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/heads/main
- name: publish release docker image - name: publish release docker image
image: plugins/docker image: plugins/docker
settings: settings:
@ -205,38 +173,6 @@ steps:
- yarn - yarn
- yarn api-test - yarn api-test
- name: publish dev docker image
image: plugins/docker
settings:
dockerfile: docker/prod/Dockerfile.arm
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: dessalines/lemmy
tags:
- dev-linux-arm64
when:
ref:
- refs/heads/main
- name: publish dev docker manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy:dev"
template: "dessalines/lemmy:dev-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/heads/main
- name: publish release docker image - name: publish release docker image
image: plugins/docker image: plugins/docker
settings: settings: