     Mix.shell.info("\n")
     :ok = make_artifact(pkg, stream)
     Mix.shell.info("\n")
-    {:ok, archive} = copy_artifact(pkg, stream)
-    {:ok, path} = Artifact.Cache.put(pkg, archive)
+    {:ok, path} = copy_artifact(pkg, stream)
     Mix.shell.info("\n")
     _ = Nerves.Utils.Stream.stop(pid)
     {:ok, path}

      "/nerves/env/platform/create-build.sh #{defconfig} #{@working_dir} >/dev/null",
    ]
    mounts = Enum.join(mounts(pkg), " ")
    Mix.Nerves.Shell.open("docker run --rm -it -w #{@working_dir} #{mounts} #{image}", initial_input)
  end

  defp preflight(pkg) do

    cmd = [
      "cp",
      name,
      "/nerves/dl/#{name}"]

    run(pkg, cmd, stream)
    path = Artifact.download_path(pkg)
    {:ok, path}
  end

