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 repo: git.faercol.me/polyculeconnect/polyculeconnect
registry: git.faercol.me registry: git.faercol.me
tags: latest tags: latest
username: username: $GIT_USERNAME
from_secret: GIT_USERNAME password: $GIT_PASSWORD
password:
from_secret: GIT_PASSWORD
platforms: platforms:
- linux/amd64 - linux/amd64
# - linux/arm64 # - linux/arm64
@ -53,6 +51,7 @@ steps:
when: when:
branch: branch:
- main - main
secrets: [git_username, git_password]
trigger: trigger:
event: event:
@ -78,11 +77,10 @@ steps:
platforms: platforms:
- linux/amd64 - linux/amd64
# - linux/arm64 # - linux/arm64
username: username: $GIT_USERNAME
from_secret: GIT_USERNAME password: $GIT_PASSWORD
password: secrets: [git_username, git_password]
from_secret: GIT_PASSWORD
trigger: trigger:
event: event:
- tag - tag