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

docker build executed twice for BuildKit builds

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Version of CloudBees Docker Build and Publish plugin 1.3.3

      Recently we have enabled BuildKit for the jobs in order to use "-secret". However, as result, "docker build" command is executed two times with exactly the same arguments. No errors or warnings printed out during first execution, but once it's done (writing image, naming image, DONE) - it immediately starts second execution. 

      In order to reproduce this behavior, you could set DOCKER_BUILDKIT env variable with 1 as value. 

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            csanchez Carlos Sanchez
            Reporter:
            oleg_r Oleg R
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: