Fix pointless dependency in provisioner workflow #2
Workflow file for this run
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: Provisioner Build | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- components/provisioner/** | ||
- .github/workflows/provisioner.yaml | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
paths: | ||
- components/provisioner/** | ||
- .github/workflows/provisioner.yaml | ||
permissions: | ||
id-token: write # This is required for requesting the JWT token | ||
contents: read # This is required for actions/checkout | ||
jobs: | ||
build-image: | ||
Check failure on line 22 in .github/workflows/provisioner.yaml GitHub Actions / Provisioner BuildInvalid workflow file
|
||
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main | ||
with: | ||
name: control-plane/provisioner | ||
dockerfile: Dockerfile | ||
context: ./components/provisioner | ||
summary: | ||
runs-on: ubuntu-latest | ||
needs: [build-image] | ||
if: success() || failure() | ||
steps: | ||
- name: "Generate summary" | ||
run: | | ||
{ | ||
echo '# Kyma Infrastructure Manager' | ||
# if build-image was successful | ||
if [ "${{ needs.build-image.result }}" == "success" ]; then | ||
printf '\n\n## Image\n' | ||
printf '\n```json\n' | ||
echo '${{ needs.build-image.outputs.images }}' | jq | ||
printf '\n```\n' | ||
fi | ||
} >> $GITHUB_STEP_SUMMARY |