Skip to content

Commit

Permalink
fix: Update preset-image-build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ishaan Sehgal <[email protected]>
  • Loading branch information
ishaansehgal99 authored Mar 13, 2024
1 parent e39bd97 commit 5b1fc5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preset-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

env:
GO_VERSION: "1.20"
BRANCH_NAME: ${{ github.head_ref || github.ref_name || 'main' }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

permissions:
id-token: write
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
if: steps.check_test_image.outputs.IMAGE_EXISTS == 'false'
id: launch_script
run: |
PR_BRANCH=${{ github.head_ref }} \
PR_BRANCH=${{ env.BRANCH_NAME }} \
ACR_NAME=${{ steps.acr_info.outputs.ACR_NAME }} \
ACR_USERNAME=${{ steps.acr_info.outputs.ACR_USERNAME }} \
ACR_PASSWORD=${{ steps.acr_info.outputs.ACR_PASSWORD }} \
Expand Down

0 comments on commit 5b1fc5a

Please sign in to comment.