disable cache on build
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -31,7 +31,7 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
echo "Building docker image ${registry}:${version}.${env.BUILD_ID}"
|
||||
def customImage = docker.build("${registry}:v${version}.${env.BUILD_ID}")
|
||||
def customImage = docker.build("${registry}:v${version}.${env.BUILD_ID}", "--no-cache")
|
||||
// echo "Logging in to docker hub"
|
||||
// docker.withRegistry('https://registry.hub.docker.com', 'docker-hub-creds') {
|
||||
// echo "Pushing docker image ${registry}:v${version}.${env.BUILD_ID}"
|
||||
|
||||
Reference in New Issue
Block a user