From a8a16d4d23003e501c217977f3ed14155719b3ca Mon Sep 17 00:00:00 2001 From: adrianc Date: Mon, 17 Jun 2024 11:35:38 +0300 Subject: [PATCH] align image tag format on release use vX.Y.z instead of X.y.z as done in other related projects Signed-off-by: adrianc --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 60bfd3b..aca64aa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,7 +39,7 @@ jobs: flavor: | latest=false tags: | - type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }} + type=ref,event=tag - name: Build and push Docker image uses: docker/build-push-action@v4 @@ -80,7 +80,7 @@ jobs: flavor: | latest=false tags: | - type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }} + type=ref,event=tag - name: Build and push Docker image uses: docker/build-push-action@v4 @@ -121,7 +121,7 @@ jobs: flavor: | latest=false tags: | - type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }} + type=ref,event=tag - name: Build and push Docker image uses: docker/build-push-action@v4 @@ -152,7 +152,7 @@ jobs: flavor: | latest=false tags: | - type=semver,pattern={{version}},enable=${{ contains(github.ref, 'refs/tags/v') }} + type=ref,event=tag - name: Log in to ghcr.io uses: docker/login-action@v2