Skip to content

Commit b9c8f72

Browse files
committed
login to GHCR before pulling image
Signed-off-by: mdzurick <mitch_dz@hotmail.com>
1 parent e47b30b commit b9c8f72

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/integration_tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ jobs:
9595
cudaq_test_image: ${{ steps.vars.outputs.cudaq_nightly_image }}@${{ steps.test_image.outputs.digest }}
9696

9797
steps:
98+
- name: Log in to GitHub CR
99+
uses: docker/login-action@v3
100+
with:
101+
registry: ghcr.io
102+
username: ${{ github.actor }}
103+
password: ${{ github.token }}
104+
98105
- name: Set variables
99106
id: vars
100107
run: |
@@ -112,13 +119,6 @@ jobs:
112119
echo "platforms=$(echo $platforms | tr ' ' ,)" >> $GITHUB_OUTPUT
113120
echo "cudaq_nightly_image=$cudaq_nightly_image" >> $GITHUB_OUTPUT
114121
115-
- name: Log in to GitHub CR
116-
uses: docker/login-action@v3
117-
with:
118-
registry: ghcr.io
119-
username: ${{ github.actor }}
120-
password: ${{ github.token }}
121-
122122
- name: Set up context for buildx
123123
run: |
124124
docker context create builder_context

0 commit comments

Comments
 (0)