From 2295987aa39104c864884e301b67d58620f3050a Mon Sep 17 00:00:00 2001 From: Mi Klo Date: Wed, 19 Jul 2023 01:26:34 +0000 Subject: [PATCH] set pipeline condition --- .woodpecker.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8da853a..fff1a40 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,16 +4,12 @@ when: steps: build-push: image: woodpeckerci/plugin-docker-buildx -# secrets: [docker_username, docker_password] + secrets: [docker_username, docker_password] settings: -# registry: forge.citizen4.eu - repo: forge.citizen4.eu/${CI_REPO_OWNER}/${CI_REPO_NAME} - logins: - - registry: forge.citizen4.eu - username: - from_secret: docker_username - password: - from_secret: docker_password + username: ${DOCKER_USERNAME} + password: ${DOCKER_PASSWORD} + registry: forge.citizen4.eu + repo: forge.citizen4.eu/${CI_REPO_OWNER}/${CI_REPO_NAME} tags: - ${CI_COMMIT_TAG} # - ${CI_COMMIT_SHA:0:10}