Compare commits

...

3 Commits

Author SHA1 Message Date
993b9f1d7c update id 2026-03-07 05:31:19 +00:00
7802854b32 up 2026-03-07 05:27:29 +00:00
6315f1eee0 update jenkins 2026-03-07 04:31:35 +00:00

10
Jenkinsfile vendored
View File

@@ -3,10 +3,10 @@ pipeline {
environment { environment {
// Configure these in Jenkins or as pipeline parameters // Configure these in Jenkins or as pipeline parameters
DOCKER_REGISTRY = 'docker.io' DOCKER_REGISTRY = 'https://git.wrigglyt.xyz/'
DOCKER_IMAGE = 'myorg/myapp' // e.g., username/repo for Docker Hub DOCKER_IMAGE = 'ryanv/myapp' // e.g., username/repo for Docker Hub
DEPLOY_HOST = 'deploy-server.example.com' DEPLOY_HOST = '10.0.11.3'
DEPLOY_USER = 'deploy' DEPLOY_USER = 'ryanv'
DEPLOY_PATH = '/opt/myapp' DEPLOY_PATH = '/opt/myapp'
GIT_REPO_URL = 'https://github.com/myorg/jenkins-docker-deploy-example.git' GIT_REPO_URL = 'https://github.com/myorg/jenkins-docker-deploy-example.git'
} }
@@ -33,7 +33,7 @@ pipeline {
stage('Push to Registry') { stage('Push to Registry') {
steps { steps {
withCredentials([usernamePassword( withCredentials([usernamePassword(
credentialsId: 'docker-registry-credentials', credentialsId: 'gitea_credentials',
usernameVariable: 'DOCKER_USER', usernameVariable: 'DOCKER_USER',
passwordVariable: 'DOCKER_PASS' passwordVariable: 'DOCKER_PASS'
)]) { )]) {