Skip to content

Commit

Permalink
GitHub Actions: login to DockerHub to try to avoid DockerHub rate limits
Browse files Browse the repository at this point in the history
- linuxkit/* really should come from ghcr.io, are they even there?

Signed-off-by: Ricardo Pardini <[email protected]>
  • Loading branch information
rpardini authored and jacobweinstock committed Apr 2, 2024
1 parent c7ef977 commit 328f5e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-all-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ jobs:
- name: Set up Docker Buildx # nb: no need for qemu here, kernels are cross-compiled, instead of the compilation being emulated
uses: docker/setup-buildx-action@v3

- name: Docker Login to DockerHub # read-only token, required to be able to pull all the linuxkit pkgs without getting rate limited.
uses: docker/login-action@v3
with: { registry: "docker.io", username: "${{ secrets.DOCKER_USERNAME }}", password: "${{ secrets.DOCKER_PASSWORD }}" }

- name: Docker Login to quay.io
if: ${{ env.REGISTRY == 'quay.io' }}
uses: docker/login-action@v3
Expand Down

0 comments on commit 328f5e8

Please sign in to comment.