ci: print image in find-image action

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2022-12-20 13:54:18 +01:00
parent 582615dfb3
commit caed4ff287
2 changed files with 2 additions and 7 deletions

View File

@ -34,4 +34,5 @@ runs:
run: |
image=$(./find-image.sh --ref "${ref}" --stream "${stream}")
echo "image=${image}" >> "${GITHUB_OUTPUT}"
echo "Found image '${image}'."
working-directory: hack/api

View File

@ -89,16 +89,10 @@ jobs:
exit 0
fi
- name: Checkout head
if: inputs.git-ref == 'head'
- name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
- name: Checkout ref
if: inputs.git-ref != 'head'
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
with:
ref: ${{ inputs.git-ref }}
- name: Find latest image
id: find-latest-image