From 39a1732fa919d2c8fae6365b79abd2dafc2ee204 Mon Sep 17 00:00:00 2001 From: Baja-KS Date: Mon, 26 Aug 2024 12:46:35 +0200 Subject: [PATCH] fix registry login --- .github/workflows/merge.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index aca72f3e..d03dd48d 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -145,10 +145,6 @@ jobs: echo "outcome=success" >> $GITHUB_OUTPUT - - name: Push Docker image to GHCR - run: | - docker push ${{ steps.image_lowercase.outputs.lowercase }}:${{ env.TAG }} - - name: Login to GHCR uses: docker/login-action@v2 @@ -158,6 +154,11 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} + - name: Push Docker image to GHCR + run: | + docker push ${{ steps.image_lowercase.outputs.lowercase }}:${{ env.TAG }} + + - name: Deploy with Qovery if: github.ref == 'refs/heads/develop' env: