Browse Source

main to master

master
lenape 3 months ago
parent
commit
9113b1f3e3
  1. 5
      Jenkinsfile-push-gitea-dockerhub

5
Jenkinsfile-push-gitea-dockerhub

@ -19,7 +19,10 @@ pipeline {
stage('Push to Gitea') { stage('Push to Gitea') {
steps { steps {
git credentialsId: 'my-gitea-credentials', url: "${env.GITEA_REPO}" git credentialsId: 'my-gitea-credentials', url: "${env.GITEA_REPO}"
sh 'git push origin main' sh '''
git checkout -b master
git push origin master
'''
} }
} }
stage('Push to Docker Hub') { stage('Push to Docker Hub') {

Loading…
Cancel
Save