Skip to content

Commit

Permalink
Try adding docker login step with repo token before pulling built image
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Mar 13, 2024
1 parent f45e2be commit 3b09b72
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/check-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ jobs:
needs: [image-build]
steps:

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run command to test built image ${{ needs.image-build.outputs.image }}
id: run
run: |
Expand Down

0 comments on commit 3b09b72

Please sign in to comment.