Explorar el Código

fetch by given digest, not tag

Alex Suraci hace 7 años
padre
commit
ae33c6bc04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cmd/in/main.go

+ 1 - 1
cmd/in/main.go

@@ -53,7 +53,7 @@ func main() {
 
 	dest := os.Args[1]
 
-	ref := req.Source.Repository + ":" + req.Source.Tag
+	ref := req.Source.Repository + "@" + req.Version.Digest
 
 	n, err := name.ParseReference(ref, name.WeakValidation)
 	if err != nil {