Skip to content

Commit 34ed6fa

Browse files
agnerssairon
andauthored
Make sure builder image is pulled by default (#218)
* Make sure builder image is pulled by default * Use single quote in GitHub Action expression * Invert logic Avoid double negation which is error prone. * Update action.yml Co-authored-by: Jan Čermák <[email protected]> --------- Co-authored-by: Jan Čermák <[email protected]>
1 parent 73d9da5 commit 34ed6fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
--${{ matrix.architecture }} \
4747
--target /data \
4848
--generic ${{ github.sha }}
49-
no-pull: true
49+
pull: "false"

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ inputs:
55
description: "Arguments passed to the builder"
66
required: true
77
default: "--help"
8-
no-pull:
9-
description: "Do not pull the latest version of builder (for testing)"
8+
pull:
9+
description: "Pull the latest version of builder (set to `false` for testing)"
1010
required: false
11-
default: false
11+
default: "true"
1212
runs:
1313
using: "composite"
1414
steps:
@@ -27,7 +27,7 @@ runs:
2727
echo "version=${input}" >> "$GITHUB_OUTPUT"
2828
2929
- shell: bash
30-
if: ${{ inputs.no-pull == true }}
30+
if: ${{ inputs.pull == 'true' }}
3131
run: |
3232
docker pull ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }}
3333
cosign verify \

0 commit comments

Comments
 (0)