remove variables section

This commit is contained in:
Sinan Ta 2024-01-18 12:56:18 +01:00
parent 835560a6f2
commit 55ed6a8934

View File

@ -7,16 +7,16 @@ deploy:
stage: deploy
tags:
- dind
variables:
TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
# variables:
# TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
script:
- apk add docker
- docker ps
- docker pull nexus.knecon.com:5001/ff/ocr-service-server:latest
# - mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
- echo "Building with gradle version ${TEST_BUILDVERSION}"
- gradle -Pversion=${TEST_BUILDVERSION} publish
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${TEST_BUILDVERSION}
- 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}
after_script:
# - mkdir -p .gradleBuildCache
- ls -al `pwd`/.gradle