Skip to content

Commit 96b2d32

Browse files
committed
docs: document new option
1 parent 23473c1 commit 96b2d32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,6 +1854,7 @@ func (p *DockerProvider) PullImageWithOpts(ctx context.Context, img string, opts
18541854
return p.attemptToPullImage(ctx, img, pullOpts.dockerPullOpts)
18551855
}
18561856

1857+
// PullDockerImageWithPlatform option that configures the pull image options to use the specified platform
18571858
func PullDockerImageWithPlatform(platform specs.Platform) PullImageOption {
18581859
return func(opts *pullImageOptions) error {
18591860
opts.dockerPullOpts.Platform = platforms.Format(platform)

0 commit comments

Comments
 (0)