Skip to content

Commit

Permalink
Use released versions of the builder (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Aug 12, 2024
1 parent c7280d7 commit eca884e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish ${{ matrix.architecture }} builder
uses: ./
uses: home-assistant/builder@2024.03.5
with:
args: |
--${{ matrix.architecture }} \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v4

- name: Build the builder
uses: home-assistant/builder@master
uses: home-assistant/builder@2024.03.5
with:
args: |
--test \
Expand All @@ -46,3 +46,4 @@ jobs:
--${{ matrix.architecture }} \
--target /data \
--generic ${{ github.sha }}
no-pull: true
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
description: "Arguments passed to the builder"
required: true
default: "--help"
no-pull:
description: "Do not pull the latest version of builder (for testing)"
required: false
default: false
runs:
using: "composite"
steps:
Expand All @@ -23,6 +27,7 @@ runs:
echo "version=${input}" >> "$GITHUB_OUTPUT"
- shell: bash
if: ${{ inputs.no-pull == true }}
run: |
docker pull ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }}
cosign verify \
Expand Down

0 comments on commit eca884e

Please sign in to comment.