Skip to content

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

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

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

Workflow file for this run

# This workflow builds the book with documentation and runs book tests
name: Book
on:
push:
branches:
- main
- 'branch-*'
pull_request:
branches:
- main
- 'branch-*'
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
services:
scylladb:
image: scylladb/scylla
ports:
- 9042:9042
options: --health-cmd "cqlsh --debug scylladb" --health-interval 5s --health-retries 10
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}

Check failure on line 29 in .github/workflows/book.yml

View workflow run for this annotation

GitHub Actions / Book

Invalid workflow file

The workflow is not valid. .github/workflows/book.yml (Line: 29, Col: 9): Unexpected value 'DOCKERHUB_USERNAME' .github/workflows/book.yml (Line: 30, Col: 9): Unexpected value 'DOCKERHUB_TOKEN'
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Update rust toolchain
run: rustup update
- name: Install mdbook
run: cargo install mdbook --no-default-features
- name: Build the project
run: cargo build --verbose --examples
- name: Build the book
run: mdbook build docs
- name: Run book tests
run: mdbook test -L target/debug/deps docs