From 575ea7595d95f15a37410c00d5ad5a4509851fba Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Thu, 13 Apr 2023 10:56:32 +0300 Subject: [PATCH] Add debugging (set -x) to `Check Tags` job Signed-off-by: Martin Tzvetanov Grigorov --- .github/workflows/base-glibc-debian-bash.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base-glibc-debian-bash.yaml b/.github/workflows/base-glibc-debian-bash.yaml index 7b81969e..03bb891b 100644 --- a/.github/workflows/base-glibc-debian-bash.yaml +++ b/.github/workflows/base-glibc-debian-bash.yaml @@ -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' )" @@ -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