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
|
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
|
||||||
|
|
Loading…
Reference in a new issue