Skip to content

Instantly share code, notes, and snippets.

Avatar

Stefan Haberl birnbuazn

View GitHub Profile
@birnbuazn
birnbuazn / housekeeping_images.sh
Last active May 27, 2021 — forked from DaanGeurts/housekeeping_images.sh
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