From 710502600ea6d78c77cdf33ae25f87fd390357f9 Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Thu, 22 Aug 2024 15:56:04 +0200 Subject: [PATCH] fix: release --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef90a936..515ff81c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,8 +89,8 @@ jobs: - name: Update `vX.Y.Z` + `vX` git tag run: | VERSION=${{ needs.vercel-job.outputs.new_release_version }} - MAJOR_VERSION=${{ needs.vercel-job.outputs.new_release_major_version }} git tag $VERSION + MAJOR_VERSION=${{ needs.vercel-job.outputs.new_release_major_version }} git tag -fa v$MAJOR_VERSION -m "Update major version tag to v$MAJOR_VERSION" git push origin v$MAJOR_VERSION --force @@ -99,9 +99,6 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - tags: | - type=semver,pattern={{version}} - type=semver,pattern={{major}} - name: Build and push Docker image id: push