Skip to content

Add catch all to some flows #100

Add catch all to some flows

Add catch all to some flows #100

Workflow file for this run

---
name: Continuous integration
on:
push:
pull_request:
workflow_dispatch:
jobs:
yamllint:
name: Yaml lint
uses: theautomation/github-actions/.github/workflows/yamllint.yaml@main
build-and-push-image:
name: Build and Push Image
needs: [yamllint]
uses: theautomation/github-actions/.github/workflows/build-and-push.yaml@main
with:
publish: true
dispatch-update-manifest:
name: Repository Dispatch to Update Manifest
needs: [build-and-push-image]
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT }}
repository: theautomation/gitops
event-type: update-manifest
client-payload:
'{"ref": "${{ github.ref }}", "repository": "${{
github.repository}}", "registry": "ghcr.io", "sha": "${{ github.sha
}}"}'