From c0ead41d213050431ff618e7875b129d102f2523 Mon Sep 17 00:00:00 2001 From: aarbit Date: Tue, 9 Jul 2024 04:49:21 +0000 Subject: [PATCH] Replaces latest tag with pipeline number --- .woodpecker.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index b8fe721..73bf3e2 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,15 +1,15 @@ -when: - branch: main - event: - - push - - manual -steps: - - name: build - image: woodpeckerci/plugin-docker-buildx - settings: - repo: git.halfbinary.net/${CI_REPO_OWNER}/prettyplayerfe - registry: git.halfbinary.net - tags: latest - username: ${CI_REPO_OWNER} - password: +when: + branch: main + event: + - push + - manual +steps: + - name: build + image: woodpeckerci/plugin-docker-buildx + settings: + repo: git.halfbinary.net/${CI_REPO_OWNER}/prettyplayerfe + registry: git.halfbinary.net + tags: ${CI_PIPELINE_NUMBER} + username: ${CI_REPO_OWNER} + password: from_secret: docker_password \ No newline at end of file