feat 再试试

This commit is contained in:
2026-01-07 17:14:13 +08:00
parent 6f133f7cdf
commit 9146c7b0b0

6
deploy/Jenkinsfile vendored
View File

@@ -79,11 +79,7 @@ pipeline {
)]) { )]) {
sh """ sh """
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin ${env.REGISTRY_URL} echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin ${env.REGISTRY_URL}
docker buildx build \\ docker buildx build --platform linux/amd64 -t ${env.IMAGE_TAG} -f deploy/Dockerfile . --push
--platform linux/amd64 \\
-t ${env.IMAGE_TAG} \\
-f deploy/Dockerfile . \\
--push
docker logout ${env.REGISTRY_URL} docker logout ${env.REGISTRY_URL}
""" """
} }