mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 16:25:19 +00:00
Display informative message when pulling docker artifacts
This commit is contained in:
@@ -102,9 +102,9 @@ func (c *DockerClient) DownloadArtifact(artifact compiler.Artifact) (compiler.Ar
|
|||||||
defer os.RemoveAll(temp)
|
defer os.RemoveAll(temp)
|
||||||
|
|
||||||
for _, uri := range c.RepoData.Urls {
|
for _, uri := range c.RepoData.Urls {
|
||||||
Debug("Downloading artifact", artifactName, "from", uri)
|
|
||||||
|
|
||||||
imageName := fmt.Sprintf("%s:%s", uri, artifact.GetCompileSpec().GetPackage().GetFingerPrint())
|
imageName := fmt.Sprintf("%s:%s", uri, artifact.GetCompileSpec().GetPackage().GetFingerPrint())
|
||||||
|
Info("Downloading image", imageName)
|
||||||
|
|
||||||
// imageName := fmt.Sprintf("%s/%s", uri, artifact.GetCompileSpec().GetPackage().GetPackageImageName())
|
// imageName := fmt.Sprintf("%s/%s", uri, artifact.GetCompileSpec().GetPackage().GetPackageImageName())
|
||||||
err = downloadAndExtractDockerImage(imageName, temp)
|
err = downloadAndExtractDockerImage(imageName, temp)
|
||||||
|
Reference in New Issue
Block a user