mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-12 16:10:41 +01:00
Fix conditional check for building changed addons
This commit is contained in:
20
.github/workflows/onpush_builder.yaml
vendored
20
.github/workflows/onpush_builder.yaml
vendored
@@ -173,26 +173,6 @@ jobs:
|
||||
- name: Build ${{ matrix.addon }} add-on (attempt 1)
|
||||
id: builderstep1
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true'
|
||||
continue-on-error: true
|
||||
uses: home-assistant/builder@2025.11.0
|
||||
env:
|
||||
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
|
||||
with:
|
||||
args: |
|
||||
${{ env.BUILD_ARGS }} \
|
||||
--${{ matrix.arch }} \
|
||||
--target "/data/${{ matrix.addon }}" \
|
||||
--image "${{ steps.check.outputs.image }}" \
|
||||
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
||||
--addon
|
||||
|
||||
- name: Wait 1 minute before retry
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure'
|
||||
run: |
|
||||
sleep 60
|
||||
|
||||
- name: Build ${{ matrix.addon }} add-on (attempt 2)
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure'
|
||||
uses: home-assistant/builder@2025.11.0
|
||||
env:
|
||||
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user