[workflows] stop removing dev- images.
I don't think it remove the associated untagged arch specific images. Until we find a way to keep or drop the entire package, we keep all of them.
This commit is contained in:
parent
fbd60c320b
commit
56076bc107
1 changed files with 0 additions and 28 deletions
28
.github/workflows/on-push.yml
vendored
28
.github/workflows/on-push.yml
vendored
|
|
@ -57,32 +57,4 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
provenance: false
|
provenance: false
|
||||||
|
|
||||||
clean-ghcr:
|
|
||||||
name: Delete old dev container images
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Delete old dev images
|
|
||||||
uses: snok/container-retention-policy@v2
|
|
||||||
with:
|
|
||||||
image-names: endlessh-go
|
|
||||||
cut-off: One week ago UTC
|
|
||||||
account-type: personal
|
|
||||||
token: ${{ secrets.TOKEN_DELETE_GHCR_IMAGES }}
|
|
||||||
keep-at-least: 5
|
|
||||||
skip-tags: latest, development
|
|
||||||
filter-tags: "dev-*"
|
|
||||||
dry-run: False
|
|
||||||
# # Untagged images could be the images for different OS/Arch. Do not delete them.
|
|
||||||
# - name: Delete untagged images
|
|
||||||
# uses: snok/container-retention-policy@v2
|
|
||||||
# with:
|
|
||||||
# image-names: endlessh-go
|
|
||||||
# cut-off: One hour ago UTC
|
|
||||||
# account-type: personal
|
|
||||||
# token: ${{ secrets.TOKEN_DELETE_GHCR_IMAGES }}
|
|
||||||
# keep-at-least: 0
|
|
||||||
# untagged-only: True
|
|
||||||
# skip-tags: latest, development
|
|
||||||
# dry-run: False
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue