From df8ec07dfa1cc8091a938e717bb0305b94849c1f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 24 Mar 2026 16:59:24 -0400 Subject: [PATCH] Fix `default_branch` reference --- .github/workflows/az_acr_push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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