feat 全套部署
This commit is contained in:
1
deploy/Jenkinsfile
vendored
1
deploy/Jenkinsfile
vendored
@@ -78,7 +78,6 @@ pipeline {
|
||||
passwordVariable: 'DOCKER_PASS'
|
||||
)]) {
|
||||
sh """
|
||||
uname -m
|
||||
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin ${env.REGISTRY_URL}
|
||||
docker buildx build --platform linux/amd64 -t ${env.IMAGE_TAG} -f deploy/Dockerfile . --push
|
||||
docker logout ${env.REGISTRY_URL}
|
||||
|
||||
Reference in New Issue
Block a user