mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 09:57:51 +01:00
Updated readme, push preview to dockerhub
This commit is contained in:
1 parent
9da3bafd4c
commit
81b3366a8b
2 files changed
+27
-24
No files matched your search
Vendored
+15
@@ -50,6 +50,21 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Publish Beta') {
|
||||
when {
|
||||
branch 'v2-rewrite'
|
||||
}
|
||||
steps {
|
||||
sh 'docker tag $TEMP_IMAGE_NAME ${DOCKER_PRIVATE_REGISTRY}/$IMAGE_NAME:preview'
|
||||
sh 'docker push ${DOCKER_PRIVATE_REGISTRY}/$IMAGE_NAME:preview'
|
||||
sh 'docker tag $TEMP_IMAGE_NAME docker.io/jc21/$IMAGE_NAME:preview'
|
||||
|
||||
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
|
||||
sh "docker login -u '${duser}' -p '${dpass}'"
|
||||
sh 'docker push docker.io/jc21/$IMAGE_NAME:preview'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
triggers {
|
||||
bitbucketPush()
|
||||
|
||||
Reference in new issue
Block a user