removed set -x
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -47,7 +47,6 @@ jobs:
|
||||
steps:
|
||||
- name: Get tag list
|
||||
run: |
|
||||
set -x
|
||||
TAGS="$(curl -s -u "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASS }}" https://${{ secrets.REGISTRY_PATH }}/v2/umbrella/tags/list | jq -r ".tags[]")"
|
||||
COUNT=$(echo "$TAGS" | wc -l)
|
||||
REMAIN=$((COUNT - 10))
|
||||
@@ -55,7 +54,6 @@ jobs:
|
||||
|
||||
- name: Remove tags
|
||||
run: |
|
||||
set -x
|
||||
cat /tmp/old_tags | while read TAG; do
|
||||
DIGEST=$(curl -u "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASS }}" -sS -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' -o /dev/null -w '%header{Docker-Content-Digest}' https://${{ secrets.REGISTRY_PATH }}/v2/umbrella/manifests/$TAG)
|
||||
if [ -n "$DIGEST" ]; then
|
||||
|
||||
Reference in New Issue
Block a user