Skip to content

Commit 56d6143

Browse files
committed
fix: Add v3.0.1 to ignore list
1 parent 1a4c8df commit 56d6143

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/live_test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
- name: Fetch multi-platform package version SHAs
2121
id: multi-arch-digests
2222
run: |
23-
digest=$(docker manifest inspect ghcr.io/snok/container-retention-policy:v3.0.0 | jq -r '.manifests[].digest' | paste -s -d ' ' -)
24-
echo "multi-arch-digests=$digest" >> $GITHUB_OUTPUT
23+
digest300=$(docker manifest inspect ghcr.io/snok/container-retention-policy:v3.0.0 | jq -r '.manifests[].digest' | paste -s -d ' ' -)
24+
digest301=$(docker manifest inspect ghcr.io/snok/container-retention-policy:v3.0.1 | jq -r '.manifests[].digest' | paste -s -d ' ' -)
25+
echo "multi-arch-digests=$digest300 $digest301" >> $GITHUB_OUTPUT
2526
2627
- uses: snok/container-retention-policy@v3.0.0
2728
name: Delete test-1-* images with a temporal token

DEVELOPMENT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ used [cargo-unused-features](https://crates.io/crates/cargo-unused-features) and
4545
3. Update the action.yaml file with the new image tag
4646
4. Commit and push the changes to the main branch
4747
5. Create a release to tag the latest commit
48+
6. Update .github/workflows/live_test.yaml to avoid pruning image versions belonging to the new version

0 commit comments

Comments
 (0)