Skip to content

Commit

Permalink
fix: wait for image in deploy.yaml (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommartensen authored Mar 12, 2024
1 parent f9d9843 commit 3e9a588
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,22 @@ on:
required: true

jobs:
wait-for-images:
runs-on: ubuntu-latest
strategy:
matrix:
image: [infra-server, infra-certifier]
steps:
- name: Wait for image
uses: stackrox/actions/release/wait-for-image@v1
with:
token: ${{ secrets.QUAY_RHACS_ENG_BEARER_TOKEN }}
image: rhacs-eng/${{ matrix.image }}:${{ inputs.version }}
limit: 1800

deploy:
runs-on: ubuntu-latest
needs: [wait-for-images]
steps:
- name: Show inputs
run: |
Expand Down

0 comments on commit 3e9a588

Please sign in to comment.