diff --git a/.github/workflows/docker_images.yml b/.github/workflows/docker_images.yml index bff6d38002..278178b0e5 100644 --- a/.github/workflows/docker_images.yml +++ b/.github/workflows/docker_images.yml @@ -232,6 +232,13 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_READONLY_TOKEN }} + - name: Log in to GitHub CR + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ github.token }} + - name: Log in to the container registry if: inputs.environment && vars.registry uses: docker/login-action@v3 diff --git a/.github/workflows/python_wheels.yml b/.github/workflows/python_wheels.yml index 990377375c..2514e835ce 100644 --- a/.github/workflows/python_wheels.yml +++ b/.github/workflows/python_wheels.yml @@ -36,6 +36,7 @@ jobs: runs-on: ${{ (contains(inputs.platform, 'arm') && 'linux-arm64-cpu8') || 'linux-amd64-cpu8' }} permissions: contents: read + packages: read outputs: artifact_name: ${{ steps.prereqs.outputs.artifact_name }} diff --git a/.github/workflows/test_in_devenv.yml b/.github/workflows/test_in_devenv.yml index 7f95a7dc8c..6ac356f26b 100644 --- a/.github/workflows/test_in_devenv.yml +++ b/.github/workflows/test_in_devenv.yml @@ -30,6 +30,7 @@ jobs: runs-on: ${{ (contains(inputs.platform, 'arm') && 'linux-arm64-cpu8') || 'linux-amd64-cpu8' }} permissions: contents: read + packages: read steps: - name: Checkout repository @@ -44,6 +45,14 @@ jobs: key: ${{ inputs.devdeps_cache }} fail-on-cache-miss: true + - name: Log in to GitHub CR + if: inputs.devdeps_image != '' + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ github.token }} + - name: Set up context for buildx run: | docker context create builder_context @@ -152,6 +161,7 @@ jobs: runs-on: ${{ (contains(inputs.platform, 'arm') && 'linux-arm64-cpu8') || 'linux-amd64-cpu8' }} permissions: contents: read + packages: read steps: - name: Checkout repository @@ -166,6 +176,14 @@ jobs: key: ${{ inputs.devdeps_cache }} fail-on-cache-miss: true + - name: Log in to GitHub CR + if: inputs.devdeps_image != '' + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ github.token }} + - name: Set up context for buildx run: | docker context create builder_context