mirror of https://github.com/LemmyNet/lemmy.git
Trying to add docker:latest. Fixes #1959
parent
e765b42d46
commit
ba559b839e
34
.drone.yml
34
.drone.yml
|
@ -95,6 +95,23 @@ steps:
|
||||||
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: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
|
# using https://github.com/pksunkara/cargo-workspaces
|
||||||
- name: publish to crates.io
|
- name: publish to crates.io
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
|
@ -207,6 +224,23 @@ steps:
|
||||||
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: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
|
# TODO temporarily disable arm tests
|
||||||
# services:
|
# services:
|
||||||
# - name: database
|
# - name: database
|
||||||
|
|
Loading…
Reference in New Issue