Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
Use cloudsmith token as env var
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtoth committed Mar 5, 2024
1 parent a75ab86 commit a09a368
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ jobs:
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: "--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build"
options: "--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build -e CARGO_REGISTRIES_CLOUDSMITH_TOKEN=${{ secrets.CLOUDSMITH_API_KEY }}"
run: ${{ matrix.settings.build }}
build-args: CARGO_REGISTRIES_CLOUDSMITH_TOKEN=${{ secrets.CLOUDSMITH_API_KEY }}
- name: Build
run: CARGO_REGISTRIES_CLOUDSMITH_TOKEN=${{ secrets.CLOUDSMITH_API_KEY }} ${{ matrix.settings.build }}
if: ${{ !matrix.settings.docker }}
Expand Down

0 comments on commit a09a368

Please sign in to comment.