Skip to content

Commit

Permalink
workflows:p podvm_mkosi
Browse files Browse the repository at this point in the history
docker provider pre-cleanup

Signed-off-by: stevenhorsman <[email protected]>
  • Loading branch information
stevenhorsman committed Sep 19, 2024
1 parent ccf0e75 commit e19bd95
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/podvm_mkosi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,12 @@ jobs:
tar xf podvm-binaries.tar -C podvm-mkosi/resources/binaries-tree
rm podvm-binaries.tar
- name: Check space pre-mkosi builds
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: |
df
du
- name: Build mkosi image
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: |
Expand All @@ -279,10 +285,18 @@ jobs:
REGISTRY: ${{ inputs.registry }}
PODVM_TAG: ${{ steps.image_tag.outputs.image_tag }}

- name: Clean up some space for the docker provider build
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: |
df
du
sudo rm -rf ./build
df
du
- name: Build image for docker provider
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: |
docker system prune -a
make image-container
env:
PUSH: true
Expand Down

0 comments on commit e19bd95

Please sign in to comment.