From 04bfc9edd646e4ac52a3a112a79e6630163c13fb Mon Sep 17 00:00:00 2001 From: Richard87 Date: Mon, 14 Oct 2024 14:07:36 +0200 Subject: [PATCH] fix: duplicate docker builds --- .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 58c7459..0f75926 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -49,7 +49,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=semver,pattern=${{ env.TAG }} + type=semver,pattern=${{ needs.release-please.outputs.version }} type=raw,value=latest-{{date 'YYYYMMDDHHmmss'}}-{{sha}} - name: Build and push Docker image @@ -58,7 +58,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: ${{ steps.meta.outputs.tags }} + tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{env.TAG}}" platforms: | linux/amd64 linux/arm64