diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c4de233e2..2b8ba96fb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,9 +46,9 @@ jobs: platforms: linux/amd64,linux/arm64 build-args: | chash=${{ github.sha }} - version=${{ steps.get_release.outputs.tag || 'latest' }} + version=${{ steps.get_release.outputs.tag_name || 'latest' }} push: true - tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_release.outputs.tag || 'latest' }}, ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:latest + tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_release.outputs.tag_name || 'latest' }}, ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}:latest - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}