Skip to content

Commit f14980d

Browse files
authored
Merge pull request #17 from alicefr/fix-node
Fix workflow_dispatch push condition for boolean input
2 parents bbfad9d + 7e1a298 commit f14980d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-node-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/checkout@v4
3838

3939
- name: Log in to GHCR
40-
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.push == 'true')
40+
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.push)
4141
run: podman login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
4242

4343
- name: Build bootc image
@@ -57,7 +57,7 @@ jobs:
5757
echo "Image tag: ${TAG}"
5858
5959
- name: Tag and push
60-
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.push == 'true')
60+
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.push)
6161
run: |
6262
# push bootc image under both :latest and versioned tags
6363
podman tag localhost/bink-node:${{ steps.meta.outputs.tag }} \

0 commit comments

Comments
 (0)