From cbad51277a9dc128e305d463b17927d1d1d83aff Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Mon, 16 Oct 2023 14:25:12 +0200 Subject: [PATCH] Copy workflow changes from base-glibc-busybox-bash --- .github/workflows/base-glibc-debian-bash.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/base-glibc-debian-bash.yaml b/.github/workflows/base-glibc-debian-bash.yaml index 998d074b..b1022b91 100644 --- a/.github/workflows/base-glibc-debian-bash.yaml +++ b/.github/workflows/base-glibc-debian-bash.yaml @@ -49,6 +49,7 @@ jobs: debian="$( run cat /etc/debian_version | sed '1!d' )" bash="$( run bash --version | sed '1!d' )" buildah rm "${container}" + labels=" glibc=${glibc} debian=${debian} @@ -99,7 +100,6 @@ 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. response="$( @@ -127,12 +127,9 @@ jobs: fi fi done - env: - TOKEN: ${{ secrets.secrets.QUAY_BIOCONDA_TOKEN }} - if: ${{ github.ref == 'refs/heads/main' }} - name: Push To quay.io - id: push-to-quay + name: Push uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build.outputs.image }} @@ -144,12 +141,12 @@ jobs: - if: ${{ github.ref == 'refs/heads/main' }} name: Test Pushed run: | - image='${{ steps.build.outputs.image }}' + image='${{ env.IMAGE_NAME }}' ids="$( for tag in ${{ steps.calculate.outputs.tags }} ; do buildah images --quiet --no-trunc "${image}:${tag}" done - )" + )" ids="$( printf %s "${ids}" | sort -u )" for id in ${ids} ; do podman history "${id}"