Skip to content

GH WF: Remove no-longer existing images to remove #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 2 additions & 23 deletions .github/actions/free-disk-space/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,9 @@ runs:
run: docker image ls -a
- name: Remove unused Docker images
shell: bash
# (as of 2023-08-23:)
# REPOSITORY TAG IMAGE ID CREATED SIZE
# node 14 1d12470fa662 4 months ago 912MB
# node 14-alpine 0dac3dc27b1a 4 months ago 119MB
# node 16 ebdc80ddefea 6 days ago 909MB
# node 16-alpine 2573171e0124 12 days ago 118MB
# node 18 95d8a703ee8c 6 days ago 1.09GB
# node 18-alpine 50c7e33a9de1 12 days ago 176MB
# buildpack-deps buster 0053f1bb059a 7 days ago 802MB
# buildpack-deps bullseye eac77ea4e8a0 7 days ago 833MB
# debian 10 de08540e8ff0 7 days ago 114MB
# debian 11 07585eb55737 7 days ago 124MB
# alpine 3.16 187eae39ad94 2 weeks ago 5.54MB
# alpine 3.17 1e0b8b5322fc 2 weeks ago 7.05MB
# alpine 3.18 7e01a0d0a1dc 2 weeks ago 7.33MB
# ubuntu 22.04 01f29b872827 2 weeks ago 77.8MB
# ubuntu 20.04 6df894023726 3 weeks ago 72.8MB
# ubuntu 18.04 f9a80a55f492 2 months ago 63.2MB
# moby/buildkit latest 896276ced360 2 weeks ago 172MB
# See https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#cached-docker-images
run: |
docker image rm \
node:14 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we adjust the comment above to give the latest list of pre-installed images?

or is it the list here for ubuntu-latest ?
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#cached-docker-images

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated, will merge once CI's happy

node:14-alpine \
node:16 \
node:16-alpine \
node:18 \
Expand All @@ -57,8 +37,7 @@ runs:
debian:10 \
debian:11 \
ubuntu:22.04 \
ubuntu:20.04 \
ubuntu:18.04
ubuntu:20.04
- name: Delete unneeded files
shell: bash
run: |
Expand Down