From e60003d44b232de1a0f2f1347b5171bec389314f Mon Sep 17 00:00:00 2001 From: Melora Hugues Date: Sun, 22 Oct 2023 11:12:49 +0200 Subject: [PATCH] fix: correctly use secrets for woodpecker --- .woodpecker.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e158a21..ed4b58b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -40,10 +40,8 @@ steps: repo: git.faercol.me/polyculeconnect/polyculeconnect registry: git.faercol.me tags: latest - username: - from_secret: GIT_USERNAME - password: - from_secret: GIT_PASSWORD + username: $GIT_USERNAME + password: $GIT_PASSWORD platforms: - linux/amd64 # - linux/arm64 @@ -53,6 +51,7 @@ steps: when: branch: - main + secrets: [git_username, git_password] trigger: event: @@ -78,11 +77,10 @@ steps: platforms: - linux/amd64 # - linux/arm64 - username: - from_secret: GIT_USERNAME - password: - from_secret: GIT_PASSWORD + username: $GIT_USERNAME + password: $GIT_PASSWORD + secrets: [git_username, git_password] trigger: event: - - tag \ No newline at end of file + - tag