Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Daan Geurts DaanGeurts

🏠
Working from home
View GitHub Profile
@DaanGeurts
DaanGeurts / housekeeping_images.sh
Created Jun 20, 2019
Deleting unused images from Google Container Registry, leaving x number left
View housekeeping_images.sh
#!/bin/bash
# Copyright © 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software