Skip to content

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

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

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

Workflow file for this run

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
credentials:

Check failure on line 33 in .github/workflows/tls.yml

View workflow run for this annotation

GitHub Actions / SSL

Invalid workflow file

The workflow is not valid. .github/workflows/tls.yml (Line: 33, Col: 5): Unexpected value 'credentials'
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