Skip to content

Commit 5a31d1e

Browse files
committed
build: Tag the container image correctly
1 parent 628740d commit 5a31d1e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release_prod.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ jobs:
6262
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6363
# Generate Docker tags based on the following events/attributes
6464
tags: |
65-
type=ref,event=tag
6665
type=semver,pattern={{version}}
6766
type=semver,pattern={{major}}.{{minor}}
68-
type=semver,pattern={{major}}
67+
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
6968
type=sha
7069
7170
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)