[.github/workflow/rust.yml] Add docker credentials to avoid rate limit #2835
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: SSL | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'branch-*' | ||
pull_request: | ||
branches: | ||
- main | ||
- 'branch-*' | ||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: full | ||
jobs: | ||
tls: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
services: | ||
scylladb: | ||
image: scylladb/scylla-tls | ||
ports: | ||
- 9042:9042 | ||
- 9142:9142 | ||
options: | ||
--health-cmd "cqlsh --debug" | ||
--health-interval 5s | ||
--health-retries 10 | ||
env: | ||
working-directory: ./scylla | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Update rust toolchain | ||
run: rustup update | ||
- name: Check | ||
run: cargo check --verbose --features "ssl" | ||
working-directory: ${{env.working-directory}} | ||
- name: Run tls example | ||
run: cargo run --example tls |