diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3cebcec..4ee2da5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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