diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86378af..e875bfd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,14 +10,10 @@ build: rules: - if: $CI_COMMIT_BRANCH == "installer" script: - - export CARGO_HOME="${PWD}/.cargo" - apk add pkgconf musl-dev curl - RUSTFLAGS='-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl - cp target/x86_64-unknown-linux-musl/release/dotfiles_installer ./installer-amd64 - - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file installer-amd64 "${PACKAGE_REGISTRY_URL}/dev-$CI_COMMIT_SHORT_SHA/installer-amd64"' + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file installer-amd64 "${PACKAGE_REGISTRY_URL}/dev-$CI_COMMIT_SHA/installer-amd64"' artifacts: paths: - installer-amd64 - cache: - paths: - - .cargo/