fix: correctly use secrets for woodpecker
This commit is contained in:
parent
39ed7aa07f
commit
e60003d44b
1 changed files with 7 additions and 9 deletions
|
@ -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,10 +77,9 @@ 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:
|
||||
|
|
Loading…
Reference in a new issue