[.github/workflow/rust.yml] Add docker credentials to avoid rate limit #2805
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Authenticate | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'branch-*' | ||
pull_request: | ||
branches: | ||
- main | ||
- 'branch-*' | ||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: full | ||
jobs: | ||
# PasswordAuthenticator | ||
build: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
services: | ||
scylladb: | ||
image: scylladb/scylla-passauth | ||
ports: | ||
- 9042:9042 | ||
options: --health-cmd "cqlsh --username cassandra --password cassandra --debug" --health-interval 5s --health-retries 30 | ||
credentials: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
Check failure on line 29 in .github/workflows/authenticate_test.yml GitHub Actions / AuthenticateInvalid workflow file
|
||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Update rust toolchain | ||
run: rustup update | ||
- name: Run tests | ||
run: RUST_LOG=trace cargo test --verbose authenticate_superuser -- custom_authentication --ignored | ||