diff --git a/.drone.yml b/.drone.yml index 382dfb924..001714545 100644 --- a/.drone.yml +++ b/.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