Skip to content

Commit

Permalink
Second invocation should delete nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
oxpa committed Sep 6, 2024
1 parent 681037b commit b6453ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ jobs:
- name: Prune registry
run: |
EXPERIMENTAL=true ./docker-distribution-pruner -config examples/registry/s3config.yml -delete -trace
if EXPERIMENTAL=true ./docker-distribution-pruner -config examples/registry/s3config.yml -delete -trace | grep 'DELETE '; then
exit 1
fi
- name: Test images can be downloaded after pruning
run: |
Expand All @@ -178,6 +182,9 @@ jobs:
- name: Prune registry again
run: |
EXPERIMENTAL=true ./docker-distribution-pruner -config examples/registry/s3config.yml -delete -trace
if EXPERIMENTAL=true ./docker-distribution-pruner -config examples/registry/s3config.yml -delete -trace | grep 'DELETE '; then
exit 1
fi
- name: Test images can be downloaded after pruning a tag
Expand Down

0 comments on commit b6453ed

Please sign in to comment.