Skip to content

Commit

Permalink
Merge pull request moby#5252 from jedevc/add-pb-empty-to-ssh-secret
Browse files Browse the repository at this point in the history
chore: set `pb.Empty` on ssh and secret mounts
  • Loading branch information
jedevc authored Aug 13, 2024
2 parents 36f076d + 157efce commit 5e729c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/llb/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ func (e *ExecOp) Marshal(ctx context.Context, c *Constraints) (digest.Digest, []
})
} else {
pm := &pb.Mount{
Input: pb.Empty,
Dest: s.Target,
MountType: pb.MountType_SECRET,
SecretOpt: &pb.SecretOpt{
Expand All @@ -412,6 +413,7 @@ func (e *ExecOp) Marshal(ctx context.Context, c *Constraints) (digest.Digest, []

for _, s := range e.ssh {
pm := &pb.Mount{
Input: pb.Empty,
Dest: s.Target,
MountType: pb.MountType_SSH,
SSHOpt: &pb.SSHOpt{
Expand Down

0 comments on commit 5e729c3

Please sign in to comment.