Skip to content

Commit

Permalink
tweak the tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuboxa committed Oct 22, 2024
1 parent 2878203 commit 65d34aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{raw}}
type=semver,pattern={{raw}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=raw,value=${{ github.ref }},enable=${{ !startsWith(github.ref, 'refs/tags/v') }}
labels: |
maintainer=ConduitIO
org.opencontainers.image.title=Conduit-Operator
Expand Down Expand Up @@ -152,7 +153,8 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{raw}}
type=semver,pattern={{raw}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=raw,value=${{ github.ref }},enable=${{ !startsWith(github.ref, 'refs/tags/v') }}
labels: |
maintainer=ConduitIO
org.opencontainers.image.title=Conduit-Operator
Expand Down

0 comments on commit 65d34aa

Please sign in to comment.