mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +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:
|
with:
|
||||||
args: |
|
args: |
|
||||||
${{ env.BUILD_ARGS }} \
|
${{ env.BUILD_ARGS }} \
|
||||||
|
--no-cache \
|
||||||
--${{ matrix.arch }} \
|
--${{ matrix.arch }} \
|
||||||
--target "/data/${{ matrix.addon }}" \
|
--target "/data/${{ matrix.addon }}" \
|
||||||
--image "${{ steps.check.outputs.image }}" \
|
--image "${{ steps.check.outputs.image }}" \
|
||||||
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
||||||
--addon
|
--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'
|
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure'
|
||||||
run: |
|
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
|
sleep 180
|
||||||
|
|
||||||
- name: Build ${{ matrix.addon }} add-on (attempt 2)
|
- name: Build ${{ matrix.addon }} add-on (attempt 2)
|
||||||
@@ -204,7 +200,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: |
|
args: |
|
||||||
${{ env.BUILD_ARGS }} \
|
${{ env.BUILD_ARGS }} \
|
||||||
--no-cache \
|
|
||||||
--${{ matrix.arch }} \
|
--${{ matrix.arch }} \
|
||||||
--target "/data/${{ matrix.addon }}" \
|
--target "/data/${{ matrix.addon }}" \
|
||||||
--image "${{ steps.check.outputs.image }}" \
|
--image "${{ steps.check.outputs.image }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user