Sfoglia il codice sorgente

fix: reference correct variable

jose-fully-ported 2 anni fa
parent
commit
e78194d24e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      cli/cmd/docker/builder.go

+ 1 - 1
cli/cmd/docker/builder.go

@@ -211,7 +211,7 @@ func buildLocalWithBuildkit(ctx context.Context, opts BuildOpts) error {
 	cacheTo := ""
 	ok, ghaErr := isRunningInGithubActions()
 	if ghaErr != nil {
-		fmt.Printf("Github Actions environment error: %s\n", err.Error())
+		fmt.Printf("Github Actions environment error: %s\n", ghaErr.Error())
 	}
 		
 	if ok && os.Getenv("BUILDKIT_CACHE_EXPORTER") == "gha" {