From 88f9ecfd3919f1296dcf2d2f775af42103dc2476 Mon Sep 17 00:00:00 2001 From: Michael Vasseur Date: Tue, 16 Jan 2024 08:12:51 +0100 Subject: [PATCH] Push without the tag --- .github/workflows/build-domjudge-container-PR.yml | 2 +- .github/workflows/build-domjudge-container-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-domjudge-container-PR.yml b/.github/workflows/build-domjudge-container-PR.yml index 967b53ed..8573d728 100644 --- a/.github/workflows/build-domjudge-container-PR.yml +++ b/.github/workflows/build-domjudge-container-PR.yml @@ -65,7 +65,7 @@ jobs: IMAGE_NAME="${{ github.actor }}/$IMG:${{ env.DOMJUDGE_VERSION }}" docker image tag "$IMAGE_NAME" ghcr.io/${{ github.actor }}/$IMG:${{ env.PR_TAG }} docker image tag "$IMAGE_NAME" ${{ github.actor }}/$IMG:${{ env.PR_TAG }} - docker push ghcr.io/${{ github.actor }}/$IMG:${{ env.PR_TAG }} + docker push ghcr.io/${{ github.actor }}/$IMG done - name: Check for wrong permisions diff --git a/.github/workflows/build-domjudge-container-release.yml b/.github/workflows/build-domjudge-container-release.yml index 929fd8f6..736d370a 100644 --- a/.github/workflows/build-domjudge-container-release.yml +++ b/.github/workflows/build-domjudge-container-release.yml @@ -60,7 +60,7 @@ jobs: docker push domjudge/$IMG:${{ env.DOMJUDGE_VERSION }} if [ ${{ env.DOMJUDGE_LATEST }} = "true" ]; then docker tag domjudge/$IMG:${{ env.DOMJUDGE_VERSION }} domjudge/$IMG:latest - docker push domjudge/$IMG:latest + docker push domjudge/$IMG fi done