From 267842a874d25b66a262ad64745a6002c650acbc Mon Sep 17 00:00:00 2001 From: Gibson Chikafa Date: Thu, 17 Oct 2024 16:52:51 +0200 Subject: [PATCH] Fix registry url (#8) --- Jenkinsfile | 2 +- deploy/kubernetes/docker/build.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5775c95e54..902faf21e9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,7 +30,7 @@ pipeline { ./build_distribution.sh --spark3-profile spark3 --hadoop-profile hadoop3.2 --without-dashboard cd deploy/kubernetes/docker || exit - ./build.sh --hadoop-version 3.2.0.14-EE-RC0 --registry docker.hops.works --nexus-user $NEXUS_CREDS_USR --nexus-password $NEXUS_CREDS_PSW + ./build.sh --hadoop-version 3.2.0.14-EE-RC0 --registry docker.hops.works/hopsworks --nexus-user $NEXUS_CREDS_USR --nexus-password $NEXUS_CREDS_PSW --push-image true cd ../../.. mkdir -p /opt/repository/master/rss/${VERSION}/ diff --git a/deploy/kubernetes/docker/build.sh b/deploy/kubernetes/docker/build.sh index 09ef3ee00b..a107e7055d 100755 --- a/deploy/kubernetes/docker/build.sh +++ b/deploy/kubernetes/docker/build.sh @@ -138,7 +138,6 @@ cp "$RSS_DIR/$RSS_FILE" . GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) GIT_COMMIT=$(git describe --dirty --always --tags | sed 's/-/./g') IMAGE_VERSION=$(cat $RSS_DIR/version.txt | awk '{$1=$1; print}' | sed '/^$/d') -IMAGE=$REGISTRY/rss-server:$IMAGE_VERSION echo "image version: ${IMAGE_VERSION}" IMAGE=$REGISTRY/rss:$IMAGE_VERSION echo "building image: $IMAGE"