Bumping Prow #30
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: pull-image-builder-test | ||
on: | ||
pull_request_target: | ||
types: [opened, edited, synchronize, reopened, ready_for_review] | ||
paths: | ||
- ".github/workflows/pull-image-builder-test.yml" | ||
- ".github/workflows/image-builder.yml" | ||
- ".github/actions/expose-jwt-action/**" | ||
- ".github/actions/image-builder/**" | ||
permissions: | ||
id-token: write # This is required for requesting the JWT token | ||
contents: read # This is required for actions/checkout | ||
jobs: | ||
compute-tag: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
tag: ${{ steps.get_tag.outputs.TAG }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get the latest tag | ||
id: get_tag | ||
run: echo "TAG=v0.0.1-test" >> "$GITHUB_OUTPUT" | ||
- name: Echo the tag | ||
run: echo ${{ steps.get_tag.outputs.TAG }} | ||
build-image: | ||
needs: compute-tag | ||
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@${{ github.event.pull_request_target.head.ref }} | ||
Check failure on line 31 in .github/workflows/pull-image-builder-test.yml GitHub Actions / .github/workflows/pull-image-builder-test.ymlInvalid workflow file
|
||
with: | ||
name: test-infra/ginkgo | ||
dockerfile: prow/images/ginkgo/Dockerfile | ||
context: . | ||
env-file: "envs" | ||
tags: ${{ needs.compute-tag.outputs.tag }} | ||
test-image: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Test image | ||
run: echo "Testing images ${{ needs.build-image.outputs.images }}" |