Update test-secrets.yaml #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |