added --pull to the docker build

This commit is contained in:
Ulrich Mohr 2022-01-31 15:08:52 +01:00
parent 5b968f7e5a
commit 1ead156c64

View File

@ -5,7 +5,9 @@ pipeline {
agent {
dockerfile {
dir 'automation'
additionalBuildArgs '--no-cache'
#force docker to redownload base image and rebuild all steps instead of caching them
#this way, we always get an up to date docker image one each build
additionalBuildArgs '--no-cache --pull'
reuseNode true
}
}