Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Oct 4, 2023
1 parent c7698a3 commit 2b6710a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/bb_containers_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ jobs:
run: |
docker run -i -v $(pwd):/mnt -w /mnt ghcr.io/hadolint/hadolint:latest hadolint /mnt/Dockerfile
- name: Install qemu-user-static
if: ${{ env.BUILD_RHEL == 'true' }}
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Make sure that time is in sync
if: ${{ env.BUILD_RHEL == 'true' }}
run: |
# RHEL subscription needs that time and date
# is correct and is syncing with an NTP-server
Expand Down Expand Up @@ -116,6 +118,7 @@ jobs:
--all ${{ env.REPO }}:${{ env.IMG }} \
docker://localhost:5000/${{ env.REPO }}:${{ env.IMG }}
- name: Check multi-arch container
if: ${{ env.BUILD_RHEL == 'true' }}
run: |
# make some space on the runner
if [[ -d $HOME/.local/share/containers ]]; then
Expand All @@ -133,6 +136,7 @@ jobs:
docker run -u root -i "$image" bash -c "touch /tmp/foo && qpress -r /tmp /root/qpress.qp"
done
- name: Check for registry credentials
if: ${{ env.BUILD_RHEL == 'true' }}
run: |
missing=()
[[ -n "${{ secrets.QUAY_USER }}" ]] || missing+=(QUAY_USER)
Expand Down

0 comments on commit 2b6710a

Please sign in to comment.