feat jenkins
This commit is contained in:
1
deploy/Jenkinsfile
vendored
1
deploy/Jenkinsfile
vendored
@@ -80,6 +80,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 --platform linux/amd64 -t ${env.IMAGE_TAG} -f deploy/Dockerfile . --push
|
docker buildx build --platform linux/amd64 -t ${env.IMAGE_TAG} -f deploy/Dockerfile . --push
|
||||||
|
docker rmi ${env.IMAGE_TAG}
|
||||||
docker logout ${env.REGISTRY_URL}
|
docker logout ${env.REGISTRY_URL}
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user