mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update onpush_builder.yaml
This commit is contained in:
9
.github/workflows/onpush_builder.yaml
vendored
9
.github/workflows/onpush_builder.yaml
vendored
@@ -180,20 +180,16 @@ jobs:
|
||||
with:
|
||||
args: |
|
||||
${{ env.BUILD_ARGS }} \
|
||||
--no-cache \
|
||||
--${{ matrix.arch }} \
|
||||
--target "/data/${{ matrix.addon }}" \
|
||||
--image "${{ steps.check.outputs.image }}" \
|
||||
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
||||
--addon
|
||||
|
||||
- name: Cleanup and wait 3 minutes before retry
|
||||
- name: Wait 3 minutes before retry
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure'
|
||||
run: |
|
||||
df -h
|
||||
sudo docker system df || true
|
||||
sudo docker builder prune -af || true
|
||||
sudo docker system prune -af --volumes || true
|
||||
df -h
|
||||
sleep 180
|
||||
|
||||
- name: Build ${{ matrix.addon }} add-on (attempt 2)
|
||||
@@ -204,7 +200,6 @@ jobs:
|
||||
with:
|
||||
args: |
|
||||
${{ env.BUILD_ARGS }} \
|
||||
--no-cache \
|
||||
--${{ matrix.arch }} \
|
||||
--target "/data/${{ matrix.addon }}" \
|
||||
--image "${{ steps.check.outputs.image }}" \
|
||||
|
||||
Reference in New Issue
Block a user