Skip to content

Commit

Permalink
Copy workflow changes from base-glibc-busybox-bash
Browse files Browse the repository at this point in the history
  • Loading branch information
mbargull committed Oct 16, 2023
1 parent faa660d commit cbad512
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/base-glibc-debian-bash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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="$(
Expand Down Expand Up @@ -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 }}
Expand All @@ -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}"
Expand Down

0 comments on commit cbad512

Please sign in to comment.