From 8f47facf109863479f3f2b16d44477688cae485d Mon Sep 17 00:00:00 2001 From: joao Date: Mon, 15 Jul 2024 11:34:47 +0100 Subject: [PATCH] ci: adding version number to tag --- .github/workflows/build-docker-image.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 90b50ebb..82f974c6 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -36,7 +36,8 @@ jobs: with: images: ${{ env.IMAGE }} tags: | - type=raw, value=${{ github.event.release.tag_name }} + ${{ github.event.release.tag_name }} + latest - name: Build and push Docker image id: build uses: docker/build-push-action@v6 @@ -45,6 +46,8 @@ jobs: file: ./packages/node/Dockerfile platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} + tags: | + ${{ env.IMAGE }}:${{ github.event.release.tag_name }}-latest outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=true - name: Export digest run: |