From cb707d508b1fbfde2457cf494781338e87c36eeb Mon Sep 17 00:00:00 2001 From: Igor Panteleyev Date: Wed, 5 Jun 2024 18:22:52 +0300 Subject: [PATCH] Update git workflow --- .github/workflows/builder.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/builder.yaml b/.github/workflows/builder.yaml index 7cd8da7..2ac25b5 100644 --- a/.github/workflows/builder.yaml +++ b/.github/workflows/builder.yaml @@ -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 @@ -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 \ No newline at end of file