Skip to content

Commit cd81b76

Browse files
chore(pindigest): update python to 7a50012 #patch
1 parent a931211 commit cd81b76

2 files changed

Lines changed: 12 additions & 22 deletions

File tree

.github/workflows/cleanup_images.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/container_image.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,15 @@ jobs:
7070
BUILD_TIMESTAMP=${{ steps.vars.outputs.build_timestamp }}
7171
GIT_REF=${{ github.ref_name }}
7272
73+
- name: Set package name
74+
id: package
75+
run: echo "name=$(basename '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
76+
77+
- name: Cleanup old images
78+
uses: dataaxiom/ghcr-cleanup-action@cd0cdb900b5dbf3a6f2cc869f0dbb0b8211f50c4 # v1.0.16
79+
with:
80+
package: ${{ steps.package.outputs.name }}
81+
exclude-tags: latest,main,v*
82+
keep-n-tagged: 5
83+
delete-untagged: true
84+
delete-partial-images: true

0 commit comments

Comments
 (0)