This commit is contained in:
Dessalines 2021-11-25 11:39:39 -05:00
parent e9bf73839d
commit c43578ebce

View file

@ -53,7 +53,24 @@ steps:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
target: "[dessalines/lemmy-ui:${DRONE_TAG}, dessalines/lemmy-ui:latest]" target: "dessalines/lemmy-ui:${DRONE_TAG}"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/tags/*
- name: publish latest release docker manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:latest"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH" template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms: platforms:
- linux/amd64 - linux/amd64
@ -116,3 +133,20 @@ steps:
when: when:
ref: ref:
- refs/tags/* - refs/tags/*
- name: publish latest release docker manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:latest"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/tags/*