Skip to content

Commit

Permalink
fix: deal with undefined tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nampereira authored Apr 15, 2024
1 parent ab1d881 commit d7cd295
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 @@ -42,9 +42,9 @@ jobs:
platforms: linux/amd64,linux/arm64
build-args: |
chash=${{ github.sha }}
version=${{ steps.get_release.outputs.tag }}
version=${{ steps.get_release.outputs.tag || 'latest' }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_release.outputs.tag }}, ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:latest
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_release.outputs.tag || 'latest' }}, ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:latest
- name: Image digest
if: ${{ steps.release.outputs.release_created }}
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit d7cd295

Please sign in to comment.