Skip to content

Commit

Permalink
cleanup docker to not run into ooo
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Jul 3, 2024
1 parent 6f9a4e8 commit 3114122
Show file tree
Hide file tree
Showing 2 changed files with 748 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@ jobs:
sudo snap install go --classic
- name: Build provider images
run: sudo make docker-build-e2e
- name: Cleanup space
# Github runners are tight on space and will fail if we don't clean up before.
run: sudo docker builder prune -f
- name: Build images
run: |
cd templates/docker
sudo docker build . -t k8s-snap:dev
- name: Cleanup space
# Github runners are tight on space and will fail if we don't clean up before.
run: sudo docker builder prune -f
- name: Save provider image
run: |
sudo docker image ls
sudo docker save -o provider-image.tar $(sudo docker images -q)
- name: Save k8s-snap image
run: |
Expand Down
Loading

0 comments on commit 3114122

Please sign in to comment.