diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 3e4fe83..df98faf 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -36,7 +36,7 @@ jobs: with: images: ${{ env.IMAGE_NAME }} tags: | - type=ref,event=tag,enable=${{ startsWith(github.ref, 'refs/tags/') }} + type=pep440,pattern=v{{version}} - name: Build and push Docker image uses: docker/build-push-action@v5