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

docker build executed twice for BuildKit builds

XMLWordPrintable

      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. 

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

              Created:
              Updated: