fix: correctly use secrets for woodpecker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed

This commit is contained in:
Melora Hugues 2023-10-22 11:12:49 +02:00
parent 39ed7aa07f
commit e60003d44b

View file

@ -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
- tag