From 3251dad6cbf771858cb4788b9c05c742a0199603 Mon Sep 17 00:00:00 2001 From: Eduard Frankford <e.frankford@student.uibk.ac.at> Date: Fri, 13 May 2022 09:16:16 +0200 Subject: [PATCH] change to variables --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2795ce76c..d7edb6d52 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -122,9 +122,7 @@ docker-push: variables: REGISTRY_URL: sharing-codeability.uibk.ac.at:5051 IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform - # USERNAME: root - # PASSWORD: dgL5n2bqawsFnfQrwgHp script: - ./mvnw -ntp verify -Pprod -DskipTests -Dmaven.repo.local=$MAVEN_USER_HOME - - ./mvnw -ntp jib:build -Pprod -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=test -Djib.to.auth.password=WtUx7g-KRxsN2UkeE1zk -Dmaven.repo.local=$MAVEN_USER_HOME + - ./mvnw -ntp jib:build -Pprod -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME when: always -- GitLab