diff --git a/Jenkinsfile b/Jenkinsfile index 8df7654..8f3ce48 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -109,11 +109,18 @@ spec: export PULL_BASE_FROM_DOCKERHUB=false export BUILD_BASE=true export BUILDTRIVYADP=false - export BUILD_INSTALLER=false + export BUILD_INSTALLER=true make compile make build + # Retag a few upstream image names to our internal naming convention + # (so Helm values can keep using `harbor-*` consistently). + docker tag "${REGISTRY}/prepare:${VERSIONTAG}" "${REGISTRY}/harbor-prepare:${VERSIONTAG}" || true + docker tag "${REGISTRY}/redis-photon:${VERSIONTAG}" "${REGISTRY}/harbor-redis:${VERSIONTAG}" || true + docker tag "${REGISTRY}/nginx-photon:${VERSIONTAG}" "${REGISTRY}/harbor-nginx:${VERSIONTAG}" || true + docker tag "${REGISTRY}/registry-photon:${VERSIONTAG}" "${REGISTRY}/harbor-registry:${VERSIONTAG}" || true + # Push every image we just built for this tag under our namespace. docker images --format '{{.Repository}}:{{.Tag}}' \ | awk -v ns="${REGISTRY}/" -v tag="${VERSIONTAG}" 'index($0, ns)==1 && $0 ~ ":"tag"$"' \