feat jenkins

This commit is contained in:
2026-01-16 22:58:49 +08:00
parent 32a0ed0612
commit e4e08b7366

1
deploy/Jenkinsfile vendored
View File

@@ -80,6 +80,7 @@ pipeline {
sh """
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 rmi ${env.IMAGE_TAG}
docker logout ${env.REGISTRY_URL}
"""
}