fix(ci): publish Harbor-compatible amd64 image
This commit is contained in:
Vendored
+1
-1
@@ -132,7 +132,7 @@ pipeline {
|
|||||||
withCredentials([usernamePassword(credentialsId: "${NODE_CREDENTIALS}", usernameVariable: 'JENKINS_NODE_USERNAME', passwordVariable: 'JENKINS_NODE_PASSWORD')]) {
|
withCredentials([usernamePassword(credentialsId: "${NODE_CREDENTIALS}", usernameVariable: 'JENKINS_NODE_USERNAME', passwordVariable: 'JENKINS_NODE_PASSWORD')]) {
|
||||||
sh '''
|
sh '''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
DOCKER_BUILDKIT=1 ./scripts/ci-docker.sh build --network host --progress=plain \
|
DOCKER_BUILDKIT=1 ./scripts/ci-docker.sh build --network host --progress=plain --provenance=false \
|
||||||
--build-arg PIP_INDEX_URL="$PIP_INDEX_URL" \
|
--build-arg PIP_INDEX_URL="$PIP_INDEX_URL" \
|
||||||
--build-arg HTTP_PROXY="$HTTP_PROXY_URL" --build-arg HTTPS_PROXY="$HTTP_PROXY_URL" \
|
--build-arg HTTP_PROXY="$HTTP_PROXY_URL" --build-arg HTTPS_PROXY="$HTTP_PROXY_URL" \
|
||||||
--build-arg NO_PROXY="$NO_PROXY_HOSTS" -t "$IMAGE_REF" .
|
--build-arg NO_PROXY="$NO_PROXY_HOSTS" -t "$IMAGE_REF" .
|
||||||
|
|||||||
Reference in New Issue
Block a user