nano-rust/cargo-nan.sh
Ondrej Vlach 94b3a4ee93
Some checks failed
release / deploy (push) Has been cancelled
feat: add image with nodejs
2023-12-03 00:54:02 +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
"$@"