Skip to content

feat: handle crds using robust loop #8

feat: handle crds using robust loop

feat: handle crds using robust loop #8

name: Controller Container
on:
pull_request:
paths:
- 'containers/controller/**'
push:
branches:
- main
paths:
- 'containers/controller/**'
permissions:
contents: write
pull-requests: read
actions: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
controller-container:
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected]
with:
job-name: controller-container
registry: ${{ vars.HARBOR_REGISTRY }}
registry-user: ${{ vars.HARBOR_USER }}
registry-repo: ${{ vars.HARBOR_PROJECT }}/controller
release-tag-format: 'controller-container-${version}'
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
slack-channel: ${{ vars.SLACK_CHANNEL }}
build-file: containers/controller/Dockerfile
build-context: containers/controller
secrets:
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
registry-token: ${{ secrets.HARBOR_TOKEN }}
slack-token: ${{ secrets.SLACK_TOKEN }}