Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30770

[docker-build-publish-plugin] Skip Build and tag as latest not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor

      Using the docker-build-publish:1.0.1 does not force the tag latest as it should when Skip Build is checked.

      [listener] $ docker tag ***.net/***/listener ***.net/***/listener:1.0.3
      [listener] $ docker tag ***.net/***/listener ***.net/***/listener:latest
      Error response from daemon: Conflict: Tag latest is already set to image 3fc347(...), if you want to replace it, please use -f option
      Build step 'Docker Build and Publish' marked build as failure
      

      Other jobs, that indeed build the image, do not have this issue.

            csanchez Carlos Sanchez
            rsilva4 Ruben Silva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: