From 541e1345d13187c88f549f0ff808411bd4c15b8c Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 29 Jan 2022 13:32:43 -0800 Subject: [PATCH] * Fixing busted binary path --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26ba169..d6acf47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ pages: # Literally both of these fail 99% of the time so I'm forgoing them completely # for now until I find something doesn't suck # Builds out the intended zip package -package: +build-binaries: image: rustlang/rust:nightly stage: build script: @@ -30,7 +30,7 @@ package: - cd api/ - cargo build --release - cd ../ - - cp api/target/release/api build/server + - cp api/target/release/clippable-server build/server - cp ./scripts/ build/ -r - cp readme.md build/ - sh ./scripts/default-rocket-toml.sh @@ -38,13 +38,15 @@ package: paths: - build/ -# Build the updated docker -build-docker-image: +# Upload built docker image to the local registry +deploy-docker-image: stage: deploy image: docker:stable only: refs: - master + needs: + - package dependencies: - package services: