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.Ā 

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

              Created:
              Updated: