diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index c1895ba..dc703c3 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -14,19 +14,3 @@ steps: when: branch: ${CI_REPO_DEFAULT_BRANCH} event: push - - name: publish_image_tag - image: woodpeckerci/plugin-docker-buildx - settings: - repo: git.gnous.eu/${CI_REPO_OWNER}/plakken - dockerfile: deployment/docker/Dockerfile - platforms: linux/amd64,linux/arm64/v8,linux/arm - registry: https://git.gnous.eu - tags: - - ${CI_COMMIT_TAG##v} # Remove v from tag - - stable - username: - from_secret: docker_username - password: - from_secret: docker_password - when: - event: tag diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml index 16bf354..9664020 100644 --- a/.woodpecker/release.yaml +++ b/.woodpecker/release.yaml @@ -6,3 +6,19 @@ steps: secrets: [ release_token ] when: event: tag + - name: publish_image_tag + image: woodpeckerci/plugin-docker-buildx + settings: + repo: git.gnous.eu/${CI_REPO_OWNER}/plakken + dockerfile: docker/Dockerfile + platforms: linux/amd64,linux/arm64/v8,linux/arm + registry: https://git.gnous.eu + tags: + - ${CI_COMMIT_TAG##v} # Remove v from tag + - stable + username: + from_secret: docker_username + password: + from_secret: docker_password + when: + event: tag \ No newline at end of file