Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 224a89b

Browse files
committed
feat(compose): added envFilePath to docker compose Pull
1 parent 3c74089 commit 224a89b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compose/internal/composebinary/composebinary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ func (wrapper *ComposeWrapper) Remove(ctx context.Context, workingDir, host, pro
6363

6464
// Pull an image associated with a service defined in a docker-compose.yml or docker-stack.yml file,
6565
// but does not start containers based on those images.
66-
func (wrapper *ComposeWrapper) Pull(ctx context.Context, workingDir, host, projectName string, filePaths []string) error {
67-
output, err := wrapper.Command(newPullCommand(filePaths), workingDir, host, projectName, "")
66+
func (wrapper *ComposeWrapper) Pull(ctx context.Context, workingDir, host, projectName string, filePaths []string, envFilePath string) error {
67+
output, err := wrapper.Command(newPullCommand(filePaths), workingDir, host, projectName, envFilePath)
6868
if len(output) != 0 {
6969
if err != nil {
7070
return err

0 commit comments

Comments
 (0)