This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 03f48762 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

changed publish image to only local dockerBuild

parent 23037ced
Branches
Tags
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
...@@ -130,8 +130,11 @@ docker-build: ...@@ -130,8 +130,11 @@ docker-build:
- eval "$(ssh-agent -s)" - eval "$(ssh-agent -s)"
- ssh-add ~/.ssh/id_rsa - ssh-add ~/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
variables:
REGISTRY_URL: sharing-codeability.uibk.ac.at:5051
IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform
script: script:
- ssh contDeploy@codeability-austria -p 1022 "cd /gitsearch2/gitsearch && git pull && ./mvnw -Dmaven.test.failure.ignore=true package jib:dockerBuild" - ssh contDeploy@codeability-austria -p 1022 "cd /gitsearch2/gitsearch && git pull && ./mvnw verify -Pprod -DskipTests jib:build -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: on_success when: on_success
# This pipeline step does not work with nfs file system # This pipeline step does not work with nfs file system
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment