Skip to content

Commit

Permalink
update/advance proxy release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Nov 14, 2024
1 parent be036c3 commit 3f5828c
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Build-Proxy
name: Release Build (Proxy)

on:

Check warning on line 4 in .github/workflows/release-proxy.yml

View workflow job for this annotation

GitHub Actions / Linter Checks

truthy value should be one of [false, true]
workflow_dispatch:
Expand All @@ -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
Expand All @@ -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/login-action@v3.3.0
# 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/login-action@v3.3.0
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'
Expand All @@ -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 }}" \
Expand Down

0 comments on commit 3f5828c

Please sign in to comment.