Skip to content

Commit

Permalink
fix: try a raw value to confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Aug 22, 2024
1 parent 19dcffb commit faa81f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=tag
type=ref,event=pr
- name: Show tags
run: |
Expand Down

0 comments on commit faa81f6

Please sign in to comment.