Skip to content

Commit

Permalink
Fix invalid reference to git ref (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl authored May 1, 2024
1 parent 48331ef commit 8c2bfc9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:
release: ${{ steps.var.outputs.release }}
checked-out-sha: ${{ steps.var.outputs.checked-out-sha }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Checkout
uses: actions/checkout@v4

- id: var
run: |
GIT_REF=${{ env.branch_ref }}
GIT_REF=${{ github.ref_name }}
GIT_BRANCH=${GIT_REF##*/}
INPUT=${{ github.event.inputs.environment }}
ENVIRONMENT=${INPUT:-"development"}
Expand Down

0 comments on commit 8c2bfc9

Please sign in to comment.