From 1df0f0987db8460f829449ec8ab6b055204c0797 Mon Sep 17 00:00:00 2001 From: Richard87 Date: Mon, 14 Oct 2024 11:23:47 +0200 Subject: [PATCH] refactor: simplify image tag --- .github/workflows/release-please.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index a980180..082ff21 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -40,12 +40,12 @@ jobs: uses: docker/build-push-action@v6 if: ${{ steps.release.outputs.release_created }} env: - VERSION: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} + TAG: ${{ steps.release.outputs.version }} with: context: . file: ./Dockerfile push: true - tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{env.VERSION}}" + tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{env.TAG}}" platforms: | linux/amd64 linux/arm64