Skip to content

Commit

Permalink
updating upload artifact (#2411)
Browse files Browse the repository at this point in the history
* updating upload artifact

* udpating docker tag
  • Loading branch information
P0NDER0SA authored Jan 9, 2025
1 parent a3b1835 commit 80f42e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: poetry run make test
- name: Upload pytest logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: pytest-logs
path: |
Expand Down

0 comments on commit 80f42e8

Please sign in to comment.