Do not delete untagged images.
These images could be the release images for different OS/Arch/
This commit is contained in:
parent
475b6b8ef8
commit
11d0d8ac67
1 changed files with 11 additions and 10 deletions
21
.github/workflows/on-push.yml
vendored
21
.github/workflows/on-push.yml
vendored
|
|
@ -72,15 +72,16 @@ jobs:
|
||||||
skip-tags: latest, development
|
skip-tags: latest, development
|
||||||
filter-tags: "dev-*"
|
filter-tags: "dev-*"
|
||||||
dry-run: False
|
dry-run: False
|
||||||
- name: Delete untagged images
|
# # Untagged images could be the images for different OS/Arch. Do not delete them.
|
||||||
uses: snok/container-retention-policy@v2
|
# - name: Delete untagged images
|
||||||
with:
|
# uses: snok/container-retention-policy@v2
|
||||||
image-names: endlessh-go
|
# with:
|
||||||
cut-off: One hour ago UTC
|
# image-names: endlessh-go
|
||||||
account-type: personal
|
# cut-off: One hour ago UTC
|
||||||
token: ${{ secrets.TOKEN_DELETE_GHCR_IMAGES }}
|
# account-type: personal
|
||||||
keep-at-least: 0
|
# token: ${{ secrets.TOKEN_DELETE_GHCR_IMAGES }}
|
||||||
untagged-only: True
|
# keep-at-least: 0
|
||||||
skip-tags: latest, development
|
# untagged-only: True
|
||||||
|
# skip-tags: latest, development
|
||||||
dry-run: False
|
dry-run: False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue