Skip to content

Commit

Permalink
ci: try another thing for the tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkparekh committed Dec 1, 2023
1 parent db81dc4 commit a07ac8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}
tags: |
type=raw,value=${{IMAGE_TAG}},enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,value=${{IMAGE_TAG}},enable={{is_default_branch}}
type=raw,value=${{env.IMAGE_TAG}},enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,value=${{env.IMAGE_TAG}},enable={{is_default_branch}}
- name: Build and push image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit a07ac8c

Please sign in to comment.