Skip to content

Commit

Permalink
now with auth
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Dec 3, 2024
1 parent 0234f16 commit d616c9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:

- name: Checking
run: |
curl 'https://ghcr.io/v2/mrc-ide/wodin/manifests/mrc-5976' -H 'accept: application/vnd.docker.distribution.manifest.v2+json' -H 'Authorization: Bearer ${{ secrets.GHCR_TOKEN }}'
GHCR_TOKEN=$(echo ${{ secrets.GITHUB_TOKEN }} | base64)
curl 'https://ghcr.io/v2/mrc-ide/wodin/manifests/mrc-5976' -H 'accept: application/vnd.docker.distribution.manifest.v2+json' -H 'Authorization: Bearer {GHCR_TOKEN}'
- name: Build and push docker
uses: docker/build-push-action@v5
Expand Down

0 comments on commit d616c9e

Please sign in to comment.