Skip to content

feat!: move registry-url to input #136

feat!: move registry-url to input

feat!: move registry-url to input #136

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
image-ok:
uses: ./.github/workflows/workflow.yaml

Check failure on line 13 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 13, Col: 11): Input registry-url is required, but not provided while calling. .github/workflows/test.yaml (Line: 20, Col: 21): Invalid secret, registry-url is not defined in the referenced workflow.
with:
runs-on: "['ubuntu-latest']"
name: test
context: ./test/image-ok
push: false
secrets:
registry-url: cr.example.com
registry-username: ""
registry-password: ""
token: ${{ secrets.GITHUB_TOKEN }}
image-vulnerable:
uses: ./.github/workflows/workflow.yaml
with:
runs-on: "['ubuntu-latest']"
name: test
context: ./test/image-vulnerable
push: false
trivy-error-is-success: true
secrets:
registry-url: cr.example.com
registry-username: ""
registry-password: ""
token: ${{ secrets.GITHUB_TOKEN }}