diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5fed4bcbb0..2eb0bcb530 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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