Skip to content

Commit 7bd3446

Browse files
committed
Trim CI to workaround disk space errors
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent cc8567e commit 7bd3446

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/image-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ jobs:
2626
if: ${{ ! inputs.runner }}
2727
uses: docker/setup-buildx-action@v3
2828
- uses: oras-project/setup-oras@v1
29-
- name: Trim CI agent
30-
run: |
31-
chmod +x contrib/free_disk_space.sh
32-
./contrib/free_disk_space.sh
33-
if: ${{ ! inputs.runner }}
3429
- name: QEMU workaround
3530
if: ${{ fromJSON(inputs.image).fix-qemu }}
3631
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
@@ -96,6 +91,11 @@ jobs:
9691
echo $SBOM_SIGN_PRIVATE_KEY | base64 -d > $GITHUB_WORKSPACE/private.key
9792
env:
9893
SBOM_SIGN_PRIVATE_KEY: ${{ secrets.SBOM_SIGN_PRIVATE_KEY }}
94+
- name: Trim CI agent
95+
run: |
96+
chmod +x contrib/free_disk_space.sh
97+
./contrib/free_disk_space.sh
98+
if: ${{ ! inputs.runner }}
9999
- name: Attach cdx sbom to base
100100
run: |
101101
mkdir -p $RUNNER_TEMP/cdxgen-sboms

0 commit comments

Comments
 (0)