working on tag list extraction
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -46,4 +46,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get tag list
|
||||
run: curl -u "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASS }}" https://${{ secrets.REGISTRY_PATH }}/v2/umbrella/tags/list | jq -r ".tags[]"
|
||||
run: |
|
||||
TAGS=curl -su "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASS }}" https://${{ secrets.REGISTRY_PATH }}/v2/umbrella/tags/list \
|
||||
| jq -r ".tags[]" \
|
||||
| head -n $(( $(wc -l) - 5))
|
||||
for TAG in $TAGS: do
|
||||
echo $TAG should be removed
|
||||
done
|
||||
Reference in New Issue
Block a user