nano-rust/cargo-nan.sh
Ondrej Vlach 5f84654075
All checks were successful
release / deploy (push) Successful in 55s
feat: add image with nodejs
2023-12-03 00:55:18 +01:00

13 lines
484 B
Bash
Executable File

#!/bin/bash
export CARGO_REGISTRIES_GITEA_NANOBYTE_CREDENTIAL_PROVIDER=cargo:token
export CARGO_REGISTRIES_GITEA_NANOBYTE_TOKEN="Bearer $1"
export CARGO_REGISTRIES_GITEA_NANOBYTE_INDEX=sparse+https://git.nanobyte.cz/api/packages/nanobyte/cargo/
export CARGO_REGISTRIES_GITEA_OVLACH_CREDENTIAL_PROVIDER=cargo:token
export CARGO_REGISTRIES_GITEA_OVLACH_TOKEN="Bearer $1"
export CARGO_REGISTRIES_GITEA_OVLACH_INDEX=sparse+https://git.nanobyte.cz/api/packages/ovlach/cargo/
shift
"$@"