nano-rust/cargo-nan.sh
Ondrej Vlach 65eb07485a
Some checks failed
release / deploy (push) Failing after 19s
feat: add image with nodejs
2023-12-03 00:49:19 +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
"$@"