This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      When specifying dockerfile as agent in a jenkins pipeline e.g. :

      pipeline {
          agent {
              dockerfile {
                  additionalBuildArgs '-t image_name:latest'
                  label 'docker'

      The docker pipeline plugin executes the following to build the image:

      docker build -t 0c5e9a24b881c7c890b38ceb89cf26c5713e2c1e -t image_name:latest -f Dockerfile .

      How can I disable automatically tagging the image? In this case I would like to have just one tag (image_name:latest).

      Thanks a lot in advance!

            Assignee:
            Unassigned
            Reporter:
            Julien Siems
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: