Skip to content

Commit

Permalink
[.github/workflow/rust.yml] Add docker credentials to avoid rate limit
Browse files Browse the repository at this point in the history
To avoid errors such
```
Error toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
```

we should add login to our Scylladb docker hub

Adding it
  • Loading branch information
yaronkaikov committed Oct 14, 2024
1 parent eb14ca8 commit f60a8d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
run: |
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
docker compose -f test/cluster/docker-compose.yml up -d --wait
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Update rust toolchain
run: rustup update
- name: Print rustc version
Expand Down

0 comments on commit f60a8d3

Please sign in to comment.