move assemble to deploy stage

This commit is contained in:
Sinan Ta 2024-01-18 15:30:21 +01:00
parent 3718340834
commit 261fb8e63b

View File

@ -16,6 +16,7 @@ deploy:
- docker pull nexus.knecon.com:5001/ff/ocr-service-server:latest
- mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
- ls -al
- gradle assemble
- echo "Building with gradle version testing-build-cache-${CI_PIPELINE_ID}"
- gradle -Pversion=testing-build-cache-${CI_PIPELINE_ID} publish
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=testing-build-cache-${CI_PIPELINE_ID}