-
Bug
-
Resolution: Not A Defect
-
Minor
-
Jenkins ver. 2.19.4
CloudBees Docker Build and Publish plugin 1.3.2
Running on Ubuntu 16.04
The `--force` flag is still being set to true for Pipeline Docker build and publish steps. I'm running into the issue when executing a job to build and publish an image to a registry:
+ docker tag --force=true foo:tag foo:tag
unknown flag: --force
See 'docker tag --help'.
The relevant bit from my Jenkinsfile:
node {
stage('deploy'){
git branch: 'feature/branch', credentialsId: 'foo-key', url: 'git@github.com:bar/baz.git'
withDockerRegistry([credentialsId: 'ecr:us-east-1:foo-key', url: 'https://etcetera/']) {
docker.image('foo:tag').push()
}
- is duplicated by
-
JENKINS-42152 Docker Pipeline causes build to fails because of use of --force=yes for tagging
- Open