diff --git a/.woodpecker.yml b/.woodpecker.yml index 94c210e03..a472b7019 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -38,19 +38,6 @@ steps: - git submodule init - git submodule update - publish_release_docker: - image: woodpeckerci/plugin-docker-buildx - secrets: [docker_username, docker_password] - settings: - repo: dessalines/lemmy - dockerfile: docker/Dockerfile - platforms: linux/amd64 - build_args: - - RUST_RELEASE_MODE=release - tag: ${CI_COMMIT_TAG} - when: - event: tag - prettier_check: group: format image: tmknom/prettier:3.0.0 @@ -255,6 +242,19 @@ steps: - event: push branch: main + publish_release_docker: + image: woodpeckerci/plugin-docker-buildx + secrets: [docker_username, docker_password] + settings: + repo: dessalines/lemmy + dockerfile: docker/Dockerfile + platforms: linux/amd64 + build_args: + - RUST_RELEASE_MODE=release + tag: ${CI_COMMIT_TAG} + when: + event: tag + nightly_build: image: woodpeckerci/plugin-docker-buildx secrets: [docker_username, docker_password]