mirror of https://github.com/LemmyNet/lemmy.git
Dont publish dev docker images with drone.
parent
b4013b297d
commit
6b7cfea5bf
64
.drone.yml
64
.drone.yml
|
@ -62,38 +62,6 @@ steps:
|
|||
- yarn
|
||||
- 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
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -205,38 +173,6 @@ steps:
|
|||
- yarn
|
||||
- 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
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
|
Loading…
Reference in New Issue