Skip to content

Update test-secrets.yaml #2

Update test-secrets.yaml

Update test-secrets.yaml #2

Workflow file for this run

name: Test Github Secrets
on:
push:
branches: [test]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Pull image
run: |
# Pull the image from registry
while true
do
echo "Pulling image from Quay.io";
sleep 10
if podman pull quay.io/${{ secrets.QUAY_ORG }}/${{ secrets.IMAGE_NAME }}:${{ secrets.IMAGE_TAG }}
then
break
fi
done
- name: Log to Quay.io
uses: redhat-actions/podman-login@v1
with:
username: ${{ secrets.QUAY_ID }}
password: ${{ secrets.QUAY_TOKEN }}
registry: "quay.io"