Skip to content

Commit

Permalink
Update git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-panteleev committed Jun 5, 2024
1 parent 92e9035 commit cb707d5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@ jobs:
build:
needs: init
runs-on: ubuntu-latest
# if: needs.init.outputs.changed == 'true'
if: needs.init.outputs.changed == 'true'
name: Build ${{ matrix.arch }} ${{ matrix.addon }} add-on
strategy:
matrix:
# addon: ${{ fromJson(needs.init.outputs.changed_addons) }}
addon: ["hassio-vouch-proxy"]
# arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
arch: ["aarch64"]
addon: ${{ fromJson(needs.init.outputs.changed_addons) }}
arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -111,5 +109,9 @@ jobs:
uses: home-assistant/builder@master
with:
args: |
${{ env.BUILD_ARGS }} \
--${{ matrix.arch }} \
--target /data/${{ matrix.addon }}
--target /data/${{ matrix.addon }} \
--image "${{ steps.check.outputs.image }}" \
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
--addon

0 comments on commit cb707d5

Please sign in to comment.