feat 再试试
This commit is contained in:
7
deploy/Jenkinsfile
vendored
7
deploy/Jenkinsfile
vendored
@@ -79,12 +79,11 @@ pipeline {
|
||||
)]) {
|
||||
sh """
|
||||
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin ${env.REGISTRY_URL}
|
||||
docker build \\
|
||||
docker buildx build \\
|
||||
--platform linux/amd64 \\
|
||||
-t ${env.IMAGE_TAG} \\
|
||||
-f deploy/Dockerfile .
|
||||
docker push ${env.IMAGE_TAG}
|
||||
docker rmi ${env.IMAGE_TAG}
|
||||
-f deploy/Dockerfile . \\
|
||||
--push
|
||||
docker logout ${env.REGISTRY_URL}
|
||||
"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user