Skip to content

Commit

Permalink
🌱 add tag to image-build environment (#631)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zager <dzager@redhat.com>
  • Loading branch information
djzager committed Jun 26, 2024
1 parent 273008e commit b07a17a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

env:
tag: ${{ github.ref == 'refs/heads/main' && 'latest' || github.ref_name }}

jobs:
image-build:
strategy:
Expand Down

0 comments on commit b07a17a

Please sign in to comment.