Skip to content

docs: update runs-on usage #117

docs: update runs-on usage

docs: update runs-on usage #117

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
image-ok:
uses: ./.github/workflows/workflow.yaml
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 }}