@@ -71,6 +71,7 @@ func DefaultTCName(name string) string {
7171
7272// runCommand executes a command and prints the output.
7373func runCommand (name string , args ... string ) error {
74+ L .Info ().Str ("Command" , name ).Strs ("Args" , args ).Msg ("Executing os command" )
7475 cmd := exec .Command (name , args ... )
7576 cmd .Stdout = os .Stdout
7677 cmd .Stderr = os .Stderr
@@ -79,6 +80,7 @@ func runCommand(name string, args ...string) error {
7980
8081// RunCommandDir executes a command in some directory and prints the output
8182func RunCommandDir (dir , name string , args ... string ) error {
83+ L .Info ().Str ("Command" , name ).Strs ("Args" , args ).Msg ("Executing os command" )
8284 cmd := exec .Command (name , args ... )
8385 cmd .Stdout = os .Stdout
8486 cmd .Stderr = os .Stderr
@@ -268,8 +270,8 @@ func BuildImageOnce(once *sync.Once, dctx, dfile, nameAndTag string) error {
268270 err = runCommand (
269271 "docker" ,
270272 "build" ,
271- "--cache-from=type=gha,scope=tmp-cache-ctf " ,
272- "--cache-to=type=gha,scope=tmp-cache-ctf ,mode=max" ,
273+ "--cache-from=type=gha,scope=ctfdocker " ,
274+ "--cache-to=type=gha,scope=ctfdocker ,mode=max" ,
273275 "-t" ,
274276 nameAndTag ,
275277 "-f" ,
0 commit comments