Skip to content

Commit

Permalink
Add debugging (set -x) to Check Tags job
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Oct 4, 2023
1 parent bfcb907 commit 575ea75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/base-glibc-debian-bash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ jobs:
- name: Check Tags
run: |
set -x
# FIX upstream: Quay.io does not support immutable images currently.
# => Try to use the REST API to check for duplicate tags.
respone="$(
response="$(
curl -sL -H "Authorization: Bearer ${{ secrets.QUAY_BIOCONDA_TOKEN }}" \
'https://quay.io/api/v1/repository/bioconda/${{ steps.build.outputs.image }}/image'
)"
Expand All @@ -115,7 +116,7 @@ jobs:
'Could not get list of image tags.' \
'Does the repository exist on Quay.io?' \
'Quay.io REST API response was:' \
"${respone}"
"${response}"
exit 1
}
for tag in ${{ steps.calculate.outputs.tags }} ; do
Expand Down

0 comments on commit 575ea75

Please sign in to comment.