update docker connection

This commit is contained in:
Wolfgang Thaller 2022-12-29 22:00:04 +01:00
parent de06b24fd7
commit 147b839de6

View File

@ -13,19 +13,19 @@ jobs:
- task: Docker@2
inputs:
command: build
repository: ghcr.io/mcayland/retro68-build
repository: ghcr.io/autc04/retro68-build
tags: latest
arguments: --target build
displayName: 'Build'
- task: Docker@2
inputs:
command: build
repository: ghcr.io/mcayland/retro68
repository: ghcr.io/autc04/retro68
tags: latest
arguments: --target release
displayName: 'Build release'
- script: |
docker run --name retro68-build --rm -i -d ghcr.io/mcayland/retro68-build:latest
docker run --name retro68-build --rm -i -d ghcr.io/autc04/retro68-build:latest
docker exec -i retro68-build /bin/bash <<"EOF"
cd /Retro68-build
curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Linux.tar.bz2
@ -45,12 +45,12 @@ jobs:
- task: Docker@2
inputs:
command: login
containerRegistry: mcayland-github-docker
containerRegistry: autc04-github-docker
displayName: Login to GHCR
- task: Docker@2
inputs:
containerRegistry: mcayland-github-docker
repository: mcayland/retro68
containerRegistry: autc04-github-docker
repository: autc04/retro68
command: push
tags: latest
displayName: 'Push release to GHCR'