Skip to content

Commit

Permalink
Adding missing login (#2317)
Browse files Browse the repository at this point in the history
Signed-off-by: Bettina Heim <[email protected]>
  • Loading branch information
bettinaheim authored Oct 24, 2024
1 parent 9f3885a commit 2454adb
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/python_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_READONLY_TOKEN }}

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

- name: Restore build environment
if: inputs.devdeps_cache && inputs.devdeps_archive
id: restore
Expand Down Expand Up @@ -98,12 +111,6 @@ jobs:
# do not change this prefix without adjusting other workflows
echo "artifact_name=pycudaq-$cache_id" >> $GITHUB_OUTPUT
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_READONLY_TOKEN }}

- name: Set up context for buildx
run: |
docker context create builder_context
Expand Down

0 comments on commit 2454adb

Please sign in to comment.