MCPcopy Create free account
hub / github.com/github/gh-aw / generateDownloadDockerImagesStep

Function generateDownloadDockerImagesStep

pkg/workflow/docker.go:295–306  ·  view source on GitHub ↗

generateDownloadDockerImagesStep generates the step to download Docker images

(yaml *strings.Builder, dockerImages []string)

Source from the content-addressed store, hash-verified

293
294// generateDownloadDockerImagesStep generates the step to download Docker images
295func generateDownloadDockerImagesStep(yaml *strings.Builder, dockerImages []string) {
296 if len(dockerImages) == 0 {
297 return
298 }
299
300 yaml.WriteString(" - name: Download container images\n")
301 yaml.WriteString(" run: bash \"${RUNNER_TEMP}/gh-aw/actions/download_docker_images.sh\"")
302 for _, image := range dockerImages {
303 fmt.Fprintf(yaml, " %s", image)
304 }
305 yaml.WriteString("\n")
306}

Callers 2

generateMCPSetupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected