Skip to content

Commit

Permalink
git ref not easy from pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley Spinks committed Nov 26, 2024
1 parent 3620e9a commit ca80278
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
IMAGE_BASE_REGISTRY: quay.io
IMAGE_REGISTRY: quay.io/wspinks0/llm_guard_kitpg
REF: ${{ github.head_ref || github.ref_name }}

jobs:
push:
Expand Down Expand Up @@ -54,4 +53,4 @@ jobs:
context: .
file: ./Containerfile
push: true
tags: ${{ env.IMAGE_REGISTRY }}:${{ github.ref_name }}, ${{ env.IMAGE_REGISTRY }}:${REF}
tags: ${{ env.IMAGE_REGISTRY }}:${{ github.ref_name }}, ${{ env.IMAGE_REGISTRY }}:${GITHUB_REF##*/}

0 comments on commit ca80278

Please sign in to comment.