diff --git a/.drone.yml b/.drone.yml index 651786f..95cb04f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,5 +33,11 @@ steps: - name: compile image: rust:1.73 commands: - - cargo build --target x86_64-unknown-linux-gnu + - cargo build --target aarch64-unknown-linux-gnu + - name: + image: rust:1.73 + environment: + TOKEN: + from_secret: gitea_token + - cargo publish --registry gita --token $TOKEN diff --git a/Cargo.toml b/Cargo.toml index 8b1ba31..748ddc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,10 @@ description = "Information gatherer for systems." version = "0.1.0" edition = "2021" +[registries] +gitea = { index = "https://gitea.sejo-it.be/SeJo-IT/_cargo-index" } + + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies]