mirror of https://github.com/LemmyNet/lemmy.git
Trying to add docker:latest. Fixes #1959
parent
e765b42d46
commit
ba559b839e
38
.drone.yml
38
.drone.yml
|
@ -80,7 +80,7 @@ steps:
|
|||
|
||||
- name: publish release docker manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
@ -95,6 +95,23 @@ steps:
|
|||
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:latest"
|
||||
template: "dessalines/lemmy:${DRONE_TAG}-OS-ARCH"
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
ignore_missing: true
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/*
|
||||
|
||||
# using https://github.com/pksunkara/cargo-workspaces
|
||||
- name: publish to crates.io
|
||||
image: rustlang/rust:nightly
|
||||
|
@ -192,7 +209,7 @@ steps:
|
|||
|
||||
- name: publish release docker manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
@ -207,6 +224,23 @@ steps:
|
|||
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:latest"
|
||||
template: "dessalines/lemmy:${DRONE_TAG}-OS-ARCH"
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
ignore_missing: true
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/*
|
||||
|
||||
# TODO temporarily disable arm tests
|
||||
# services:
|
||||
# - name: database
|
||||
|
|
Loading…
Reference in New Issue