Skip to content

[.github/workflow/rust.yml] Add docker credentials to avoid rate limit #2805

[.github/workflow/rust.yml] Add docker credentials to avoid rate limit

[.github/workflow/rust.yml] Add docker credentials to avoid rate limit #2805

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

View workflow run for this annotation

GitHub Actions / Authenticate

Invalid workflow file

The workflow is not valid. .github/workflows/authenticate_test.yml (Line: 29, Col: 9): Unexpected value 'username' .github/workflows/authenticate_test.yml (Line: 30, Col: 9): Unexpected value 'password'
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