Skip to content

Commit

Permalink
ci: adding version number to tag
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopereira12 committed Jul 15, 2024
1 parent 2d294a0 commit 8f47fac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 8f47fac

Please sign in to comment.