fix: jenkins script
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
d56c8ee3a9
commit
3224e39af7
|
@ -91,7 +91,10 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Push image') {
|
stage('Push image') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel'
|
||||||
|
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
|
||||||
sh 'docker tag $IMAGE:$TAG $IMAGE:$BRANCH_NAME'
|
sh 'docker tag $IMAGE:$TAG $IMAGE:$BRANCH_NAME'
|
||||||
|
sh 'docker push $IMAGE:$BRANCH_NAME'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue