Skip to content

Commit

Permalink
fix: avoid duplicate docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Oct 14, 2024
1 parent 04bfc9e commit f56721d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern=${{ needs.release-please.outputs.version }}
type=semver,pattern=${{ env.TAG }}
type=raw,value=latest-{{date 'YYYYMMDDHHmmss'}}-{{sha}}
- name: Build and push Docker image
Expand All @@ -58,7 +58,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{env.TAG}}"
tags: ${{ steps.meta.outputs.tags }}
platforms: |
linux/amd64
linux/arm64
Expand Down

0 comments on commit f56721d

Please sign in to comment.