Skip to content

Commit

Permalink
build(ci): cleanup docker images in gha runner before building new im…
Browse files Browse the repository at this point in the history
…ages (#2734)

Follow up to #2711 and #2727

Github keeps some image cache in the GHA runners which keeps around
base containers with vulnerabilities.

We can't use --pull because we use local-built tools image.
  • Loading branch information
hairyhum authored Mar 12, 2024
1 parent 94a8a33 commit 45acd13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,6 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- run: sudo rm -rf /usr/share/dotnet
- run: sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- run: docker image prune -af
- run: make release-snapshot
- run: ./build/push_images.sh

0 comments on commit 45acd13

Please sign in to comment.