Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Jan 21, 2025
1 parent 33048ac commit f77bfbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/activate-docker-distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: |
set +e
docker manifest inspect ${{ env.DESTINATION_IMAGE_TAG }}
EXIT_CODE=1
EXIT_CODE=$?
if [[ $EXIT_CODE -eq 0 ]]; then
echo "ERROR: image ${{ env.DESTINATION_IMAGE_TAG }} already exist"
exit 1
Expand All @@ -76,11 +76,11 @@ jobs:
run: |
set +e
docker pull ${{ env.SOURCE_IMAGE_TAG }}
#docker image tag ${{ env.SOURCE_IMAGE_TAG }} ${{ env.DESTINATION_IMAGE_TAG }}
docker image tag ${{ env.SOURCE_IMAGE_TAG }} ${{ env.DESTINATION_IMAGE_TAG }}
if [[ false ]]; then
docker image tag ${{ env.SOURCE_IMAGE_TAG }} latest
fi
#docker push ${{ env.DESTINATION_IMAGE_TAG }}
docker push ${{ env.DESTINATION_IMAGE_TAG }}
if [[ false ]]; then
docker rmi docker.io/${{ env.SOURCE_IMAGE_TAG }}
Expand Down

0 comments on commit f77bfbe

Please sign in to comment.