fix secrets
This commit is contained in:
parent
1e323bfa92
commit
1f3e972fbd
1 changed files with 9 additions and 6 deletions
|
@ -64,8 +64,9 @@ steps:
|
|||
|
||||
- name: publish-image
|
||||
image: docker.io/library/alpine
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
environment:
|
||||
GIT_API_TOKEN:
|
||||
from_secret: GIT_API_TOKEN
|
||||
commands:
|
||||
- apk -u add crane
|
||||
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
|
||||
|
@ -75,8 +76,9 @@ steps:
|
|||
image: docker.io/library/alpine
|
||||
when:
|
||||
- branch: main
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
environment:
|
||||
GIT_API_TOKEN:
|
||||
from_secret: GIT_API_TOKEN
|
||||
commands:
|
||||
- apk -u add crane
|
||||
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
|
||||
|
@ -87,8 +89,9 @@ steps:
|
|||
when:
|
||||
- branch: main
|
||||
evaluate: 'PENPOT_VERSION == "2.1.2"'
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
environment:
|
||||
GIT_API_TOKEN:
|
||||
from_secret: GIT_API_TOKEN
|
||||
commands:
|
||||
- apk -u add crane
|
||||
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue