Skip to content

udpating sha

udpating sha #2

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: |

Check failure on line 13 in .github/workflows/call-manifests-update-docker-tag.yaml

View workflow run for this annotation

GitHub Actions / Trigger Update Image Tags in Staging

Invalid workflow file

The workflow is not valid. .github/workflows/call-manifests-update-docker-tag.yaml (Line: 13, Col: 14): Unexpected symbol: 'sha::7'. Located at position 8 within expression: github.sha::7
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"}}'