diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-06 09:19:01 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-02-06 09:19:01 +0100 |
commit | b4cbb6669527bd995e20952525e036d71ec0e36f (patch) | |
tree | 8cf47065ffb623a081e2ad1593ac8e29c27c5a46 | |
parent | 5271c0fa650ee48528aab21b7ac7ce4ffabac0ae (diff) | |
download | vyos-build-b4cbb6669527bd995e20952525e036d71ec0e36f.tar.gz vyos-build-b4cbb6669527bd995e20952525e036d71ec0e36f.zip |
Jenkins: Docker: buildcontainers w/o cache
... so we fetch latest Debian updates
-rw-r--r-- | Jenkinsfile.docker | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile.docker b/Jenkinsfile.docker index 8f7ceb8e..2cac4548 100644 --- a/Jenkinsfile.docker +++ b/Jenkinsfile.docker @@ -53,7 +53,7 @@ pipeline { steps { script { DOCKER_IMAGE_AMD64 = "vyos/vyos-build:" + env.GIT_BRANCH_NAME - sh "docker build -t ${DOCKER_IMAGE_AMD64} docker" + sh "docker build --no-cache --tag ${DOCKER_IMAGE_AMD64} docker" if (! isCustomBuild()) { withDockerRegistry([credentialsId: "DockerHub"]) { sh "docker push ${DOCKER_IMAGE_AMD64}" @@ -69,7 +69,7 @@ pipeline { steps { script { DOCKER_IMAGE_ARM64 = "vyos/vyos-build:" + env.GIT_BRANCH_NAME + "-arm64" - sh "docker build -t ${DOCKER_IMAGE_ARM64} --build-arg ARCH=arm64v8/ docker" + sh "docker build --no-cache --tag ${DOCKER_IMAGE_ARM64} --build-arg ARCH=arm64v8/ docker" if (! isCustomBuild()) { withDockerRegistry([credentialsId: "DockerHub"]) { sh "docker push ${DOCKER_IMAGE_ARM64}" |