feat jenkins

This commit is contained in:
2026-01-16 22:58:45 +08:00
parent 53cda1ce5e
commit b76595d164

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}
"""
}