-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update/advance proxy release workflow
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
name: Build-Proxy | ||
name: Release Build (Proxy) | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -12,11 +12,11 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Build ${{ matrix.arch }} ${{ matrix.addon }} add-on | ||
name: Build Proxy HA-addon [${{ matrix.arch }}] | ||
strategy: | ||
matrix: | ||
addon: ["home-assistant-addon-proxy"] | ||
arch: ["aarch64", "amd64", "armhf", "armv7", "i386"] | ||
arch: ["aarch64"] | ||
|
||
steps: | ||
- name: Check out repository | ||
|
@@ -42,13 +42,13 @@ jobs: | |
echo "build_arch=false" >> $GITHUB_OUTPUT; | ||
fi | ||
# - name: Login to GitHub Container Registry | ||
# if: env.BUILD_ARGS != '--test' | ||
# uses: docker/[email protected] | ||
# with: | ||
# registry: ghcr.io | ||
# username: ${{ github.repository_owner }} | ||
# password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Login to GitHub Container Registry | ||
if: env.BUILD_ARGS != '--test' | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.CR_PAT }} | ||
|
||
- name: Build ${{ matrix.addon }} add-on | ||
if: steps.check.outputs.build_arch == 'true' | ||
|
@@ -57,7 +57,7 @@ jobs: | |
args: | | ||
${{ env.BUILD_ARGS }} \ | ||
--test \ | ||
--${{ matrix.arch }} \ | ||
--all \ | ||
--target /data/${{ matrix.addon }} \ | ||
--image "${{ steps.check.outputs.image }}" \ | ||
--docker-hub "ghcr.io/${{ github.repository_owner }}" \ | ||
|