Skip to content

Commit

Permalink
Fix latest conditional
Browse files Browse the repository at this point in the history
Signed-off-by: oguzkaganozt <[email protected]>
  • Loading branch information
oguzkaganozt committed Feb 14, 2024
1 parent 2200d57 commit b958a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/docker-build-and-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ runs:
tags: ${{ steps.set-docker-tags.outputs.tags }}
bake-target: docker-metadata-action-runtime
flavor: |
latest="${{ github.event_name }}" == "workflow_dispatch" and -n "${{ inputs.release_version }}"
latest: ${{ github.event_name == 'workflow_dispatch' && inputs.release_version != '' }}
suffix=-runtime${{ inputs.tag-suffix }}
- name: Login to GitHub Container Registry
Expand Down

0 comments on commit b958a85

Please sign in to comment.