mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 15:13:56 +02:00
ci: fix docker push
docker does not support pushing and tagging with a different name in one go as podman does. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
d22b00d859
commit
ec26f75cfb
1 changed files with 4 additions and 2 deletions
6
.github/workflows/nix.yml
vendored
6
.github/workflows/nix.yml
vendored
|
@ -101,5 +101,7 @@ jobs:
|
|||
export IMAGE_TAG=$(docker load < result | grep -Po 'Loaded image.*: \K.*')
|
||||
echo "Pushing image ${IMAGE_TAG} to Docker Hub"
|
||||
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV
|
||||
docker push "${IMAGE_TAG}" matterlabsrobot/"${IMAGE_TAG}"
|
||||
docker push "${IMAGE_TAG}" matterlabsrobot/"${IMAGE_TAG%:*}:latest"
|
||||
docker tag "${IMAGE_TAG}" matterlabsrobot/"${IMAGE_TAG}"
|
||||
docker push matterlabsrobot/"${IMAGE_TAG}"
|
||||
docker tag matterlabsrobot/"${IMAGE_TAG}" matterlabsrobot/"${IMAGE_TAG%:*}:latest"
|
||||
docker push matterlabsrobot/"${IMAGE_TAG%:*}:latest"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue