Skip to content

Commit

Permalink
still not working
Browse files Browse the repository at this point in the history
  • Loading branch information
P0NDER0SA committed Jan 9, 2025
1 parent a3b1835 commit 32c301f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,15 @@ jobs:
kubectl set image deployment.apps/notify-celery-email-send-scalable notify-celery-email-send-scalable=$DOCKER_SLUG:$DOCKER_TAG -n=notification-canada-ca --kubeconfig=$HOME/.kube/config
- name: Update images in staging (Helm)
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 32c301f

Please sign in to comment.