diff --git a/.github/workflows/az_acr_push.yml b/.github/workflows/az_acr_push.yml index 3631b8c..88018e9 100644 --- a/.github/workflows/az_acr_push.yml +++ b/.github/workflows/az_acr_push.yml @@ -54,7 +54,7 @@ jobs: run: echo "GH_REF_NAME=$(echo ${{ github.ref_name }} | sed 's|/|-|g')" >> $GITHUB_OUTPUT - name: Build & Push ${{ github.event.repository.name }}:${{ matrix.platform }}-${{ steps.branch_name.outputs.GH_REF_NAME }} - if: ${{ github.ref_name != github.repository.default_branch }} + if: ${{ github.ref_name != github.event.repository.default_branch }} uses: docker/build-push-action@v5 with: push: true @@ -79,4 +79,4 @@ jobs: platforms: linux/${{ matrix.platform }} build-args: | platform=linux/${{ matrix.platform }} - label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/gpu.Dockerfile \ No newline at end of file + label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/gpu.Dockerfile