Skip to content

Commit

Permalink
Merge pull request #156 from cevich/fix_id_bot_again
Browse files Browse the repository at this point in the history
[CI:DOCS] Fix oversight in image ID commenting bot
  • Loading branch information
cevich authored Jul 20, 2022
2 parents 6ac81dc + 7b50109 commit 312e840
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pr_image_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,15 @@ jobs:
- if: steps.retro.outputs.is_pr == 'true'
name: Retrieve and process any manifest artifacts
env:
PODMAN: podman run --rm -v $PWD:/data -w /data
PR_CCIA: quay.io/libpod/ccia:c${{ steps.retro.outputs.bid }}
UP_CCIA: quay.io/libpod/ccia:latest
# Use the CCIA image produce by the `Build Tooling images`
# task of the PR we're looking at. This allows testing
# of changes to the CCIA container before merging into `main`
# (where this workflow runs from). If that should fail,
# fall back to using the latest built CCIA image.
run: |
PODMAN="podman run --rm -v $PWD:/data -w /data"
PR_CCIA="quay.io/libpod/ccia:c${{ steps.retro.outputs.bid }}"
UP_CCIA="quay.io/libpod/ccia:latest"
declare -a ARGS
ARGS=("--verbose" "${{ steps.retro.outputs.bid }}" ".*/manifest.json")
$PODMAN $PR_CCIA "${ARGS[@]}" || $PODMAN $UP_CCIA "${ARGS[@]}"
Expand Down

0 comments on commit 312e840

Please sign in to comment.