Skip to content

Commit

Permalink
gh-action: Add docker login step to avoid pull-rate limits
Browse files Browse the repository at this point in the history
This change allows to overcome the docker pull-rate limit
when pulling the public images eg. ubuntu

Signed-off-by: Pradipta Banerjee <[email protected]>
  • Loading branch information
bpradipt committed Apr 17, 2023
1 parent 4f8037c commit 02c91e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/podvm_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker container Registry
uses: docker/login-action@v2
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to Quay container Registry
uses: docker/login-action@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/podvm_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker container Registry
uses: docker/login-action@v2
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to Quay container Registry
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 02c91e3

Please sign in to comment.