Add new harbor
variables:
REGISTRY_HOST: ipe-wim-gitlab.fzi.de:5000
- HARBOR_REGISTRY_HOST: laus.fzi.de:8201
HARBOR_IMAGE_NAME: $HARBOR_REGISTRY_HOST/$CI_PROJECT_PATH/$CI_COMMIT_REF_NAME
IMAGE_NAME: $REGISTRY_HOST/$CI_PROJECT_PATH/$CI_COMMIT_REF_NAME
@@ -58,7 +57,7 @@ nginx:
# - unzip javadoc.zip
# - mkdir javadoc && mv target/site/apidocs/* ./javadoc
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $REGISTRY_HOST
- - docker login -u riemer -p $HARBOR_PASSWORD $HARBOR_REGISTRY_HOST
+ - docker login -u zehnder -p $HARBOR_PASSWORD $HARBOR_REGISTRY_HOST
- docker build --no-cache --pull -t $HARBOR_IMAGE_NAME -t $IMAGE_NAME .
- docker push $IMAGE_NAME
- docker push $HARBOR_IMAGE_NAME
@@ -89,9 +88,9 @@ nginx-testfeld:
#- 'curl -k -f -L -H "PRIVATE-TOKEN: ${API_KEY}" -o docs.zip "https://ipe-wim-gitlab.fzi.de/streampipes/docs/-/jobs/artifacts/master/download?job=build"'
#- unzip docs.zip
#- mkdir javadoc
- - docker login -u riemer -p $HARBOR_PASSWORD laus.fzi.de:8201
- - docker build --pull -t laus.fzi.de:8201/testfeld/ui:$CI_COMMIT_REF_NAME .
- - docker push laus.fzi.de:8201/testfeld/ui:$CI_COMMIT_REF_NAME
+ - docker login -u zehnder -p $HARBOR_PASSWORD $HARBOR_REGISTRY_HOST
+ - docker build --pull -t $HARBOR_REGISTRY_HOST/testfeld/ui:$CI_COMMIT_REF_NAME .
+ - docker push $HARBOR_REGISTRY_HOST/testfeld/ui:$CI_COMMIT_REF_NAME
only:
- testfeld
