From 9fc10180bda956792416cd3492f16e1d72edaaf0 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Thu, 14 Nov 2024 12:19:21 +0100 Subject: [PATCH] fix release-prox.yml to push to the right packages repo and perform a multi platform build instead of doing it in one run. --- .github/workflows/release-proxy.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-proxy.yml b/.github/workflows/release-proxy.yml index 35b98516d3..c0161dd7be 100644 --- a/.github/workflows/release-proxy.yml +++ b/.github/workflows/release-proxy.yml @@ -7,7 +7,10 @@ on: jobs: build: runs-on: ubuntu-latest - name: Build HA Proxy-Addon + name: Build HA Proxy-Addon [${{ matrix.arch }}] + strategy: + matrix: + arch: ["aarch64", "amd64", "armhf", "armv7", "i386"] steps: - name: Check out repository @@ -39,8 +42,8 @@ jobs: with: args: | ${{ env.BUILD_ARGS }} \ - --all \ + --${{ matrix.arch }} \ --target /data/home-assistant-addon-proxy \ --image "${{ env.IMAGE }}" \ - --docker-hub "ghcr.io/${{ github.repository_owner }}" \ + --docker-hub "ghcr.io/${{ github.repository }}" \ --addon