Skip to content

formatting

formatting #4

name: Trigger Update Image Tags in Staging
on:
push:
branches:
- helm-tagging
jobs:
trigger-update:
runs-on: ubuntu-latest
steps:
- name: Trigger repository_dispatch
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.MANIFESTS_WORKFLOW_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/cds-snc/notification-manifests/dispatches \
-d '{"event_type":"update-docker-image","client_payload":{"component":"ADMIN","docker_tag":"'${GITHUB_SHA::7}'","branch":"release-automation-helm-staging"}}'