Skip to content

Releases: snok/container-retention-policy

v1.5.0

27 Jul 08:37
eeb1249
Compare
Choose a tag to compare

This release adds the possibility of using wildcards in the image-names attribute. This changes the behaviour of the action from a single-image retention tool, to potentially being used as a more general policy. See #39 for doc changes.

v1.4.2

03 Apr 13:58
46881d5
Compare
Choose a tag to compare

Improvements

  • Adds explicit error handling for HTTP timeout errors (#30, #29)

v1.4.1

16 Mar 21:30
fdd5728
Compare
Choose a tag to compare

Fixes

v1.4.0

01 Feb 23:46
81ba737
Compare
Choose a tag to compare
  • Makes the output for public images that cannot be deleted a little friendlier

  • Adds deleted, failed, and needs-github-assistance action outputs, containing lists of images and versions.

    For those unfamiliar with how to interact with Github action outputs: if you specify and id of, e.g., "delete-images" to the action when run, you can access its outputs in subsequent steps, using ${{ steps.delete-images.outputs.deleted }}.

    The outputs can be used to, e.g., skip trying to delete the same images in subsequent runs. See this post for details.

    Thanks @Siemienik for the idea, and help on the implementation.

v1.3.4

27 Jan 21:52
180e9f5
Compare
Choose a tag to compare

Limit action to running 50 requests concurrently. This fixes an issue where the HTTPX client would throw errors on exceeding 100 connections (#19)

v1.3.3

14 Jan 09:19
754c94d
Compare
Choose a tag to compare

Add pydantic to refactor input validation (#17)

Should hopefully make input parsing a little bit more robust going forward.

v1.3.2

13 Jan 17:32
34ab284
Compare
Choose a tag to compare

Fix bug in argument parsing (#16)

v1.3.1

06 Jan 09:05
dbf4664
Compare
Choose a tag to compare

Fix broken action argument parsing (#14)

v1.3.0

05 Jan 22:34
6f3e87f
Compare
Choose a tag to compare

New features

  • Added unix style wildcard support for the skip-tags input (#11)
  • Added filter-tags inputs, which can be used to filters container images. Supports wildcards (#12)
  • Added filter-include-untagged, which lets you opt-into including untagged images when using filter-tags (#12)

Thanks @Emilgardis 👏

v1.2.1

25 Oct 06:40
455daa3
Compare
Choose a tag to compare

Specifies '0' as the default value for keep-at-least. Right now it resolves as an empty string which is unhandled.