Skip to content

Bumping sec-scanners-config.yaml #25

Bumping sec-scanners-config.yaml

Bumping sec-scanners-config.yaml #25

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

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-image-builder-test.yml

Invalid workflow file

invalid value workflow reference: version cannot have whitespace: ${{ github.event.pull_request_target.head.ref }}
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 }}"