Skip to content

Commit

Permalink
udpating docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
P0NDER0SA committed Jan 9, 2025
1 parent 3c1a31e commit 0df97d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ jobs:
env:
GITHUB_SHA: ${{ github.sha }}
run: |
echo "DOCKER_TAG=${GITHUB_SHA::7}" >> $GITHUB_ENV
DOCKER_TAG=${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":"API","docker_tag":"${{ env.DOCKER_TAG }}"}}'
-d '{"event_type":"update-docker-image","client_payload":{"component":"API","docker_tag":"$DOCKER_TAG"}}'
- name: my-app-install token
id: notify-pr-bot
Expand Down

0 comments on commit 0df97d0

Please sign in to comment.