mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-22 04:30:03 +00:00
without comdition
This commit is contained in:
parent
192081cd01
commit
3737404c4b
@ -53,22 +53,22 @@ jobs:
|
|||||||
# testResultsFormat: 'CTest'
|
# testResultsFormat: 'CTest'
|
||||||
# testResultsFiles: build/Testing/**/*.xml
|
# testResultsFiles: build/Testing/**/*.xml
|
||||||
# buildPlatform: 'x86_64-linux'
|
# buildPlatform: 'x86_64-linux'
|
||||||
- task: Docker@2
|
# - task: Docker@2
|
||||||
inputs:
|
# inputs:
|
||||||
command: login
|
# command: login
|
||||||
containerRegistry: autc04-github-docker
|
# containerRegistry: autc04-github-docker
|
||||||
displayName: Login to GHCR
|
# displayName: Login to GHCR
|
||||||
- task: Docker@2
|
# - task: Docker@2
|
||||||
inputs:
|
# inputs:
|
||||||
containerRegistry: autc04-github-docker
|
# containerRegistry: autc04-github-docker
|
||||||
repository: autc04/testimage
|
# repository: autc04/testimage
|
||||||
command: push
|
# command: push
|
||||||
tags: latest
|
# tags: latest
|
||||||
displayName: 'Push release to GHCR'
|
# displayName: 'Push release to GHCR'
|
||||||
- script: |
|
- script: |
|
||||||
docker login ghcr.io/autc04 -u autc04 -p $GHCR_TOKEN
|
docker login ghcr.io/autc04 -u autc04 -p $GHCR_TOKEN
|
||||||
docker push ghcr.io/autc04/testimage
|
docker push ghcr.io/autc04/testimage
|
||||||
env:
|
env:
|
||||||
GHCR_TOKEN: $(GHCR_TOKEN)
|
GHCR_TOKEN: $(GHCR_TOKEN)
|
||||||
displayName: 'Push release to GHCR'
|
displayName: 'Push release to GHCR'
|
||||||
condition: and(succeeded(), ne(variables['GHCR_TOKEN'], ''))
|
# condition: and(succeeded(), ne(variables['GHCR_TOKEN'], ''))
|
||||||
|
Loading…
Reference in New Issue
Block a user