summaryrefslogtreecommitdiff
path: root/Jenkinsfile.docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-06 09:19:01 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-06 09:21:07 +0100
commit446415bcf8a0c46caa18338aff4c837b96805a3b (patch)
tree19cbe7f1e06ae330cebf1026c5b80f0219f5477f /Jenkinsfile.docker
parent59da41928aada6d0f03dab2c621b4f83e02ed0dc (diff)
downloadvyos-build-446415bcf8a0c46caa18338aff4c837b96805a3b.tar.gz
vyos-build-446415bcf8a0c46caa18338aff4c837b96805a3b.zip
Jenkins: Docker: buildcontainers w/o cache
... so we fetch latest Debian updates (cherry picked from commit b4cbb6669527bd995e20952525e036d71ec0e36f)
Diffstat (limited to 'Jenkinsfile.docker')
-rw-r--r--Jenkinsfile.docker2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile.docker b/Jenkinsfile.docker
index 7f8abe14..b52676b4 100644
--- a/Jenkinsfile.docker
+++ b/Jenkinsfile.docker
@@ -50,7 +50,7 @@ pipeline {
steps {
script {
DOCKER_IMAGE = "vyos/vyos-build:" + getGitBranchName()
- sh "docker build -t ${DOCKER_IMAGE} docker"
+ sh "docker build --no-cache --tag ${DOCKER_IMAGE} docker"
if (! isCustomBuild()) {
withDockerRegistry([credentialsId: "DockerHub"]) {
sh "docker push ${DOCKER_IMAGE}"