mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-06 11:32:07 +00:00
use token variable and explicit commands for docker
This commit is contained in:
parent
1d8f4f6774
commit
34eeb4dbb7
@ -64,7 +64,7 @@ jobs:
|
||||
# tags: latest
|
||||
# displayName: 'Push release to GHCR'
|
||||
- script: |
|
||||
docker login ghcr.io/autc04 -u autc04 -p $GHC_TOKEN
|
||||
docker login ghcr.io/autc04 -u autc04 -p $(GHC_TOKEN)
|
||||
docker push ghcr.io/autc04/testimage
|
||||
env:
|
||||
GHCR_TOKEN: $(GHCR_TOKEN)
|
||||
displayName: 'Push release to GHCR'
|
||||
condition: and(succeeded(), ne(variables['GHCR_TOKEN'], ''))
|
||||
|
Loading…
x
Reference in New Issue
Block a user