Fix export architecture configuration to resolves #1087

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-11-02 11:39:51 +01:00
parent 954192118e
commit 59f67f9cb5
2 changed files with 4 additions and 4 deletions

View File

@@ -854,7 +854,7 @@ func (p *Pipeline) PushContainer(ctx context.Context, op *compiler.Value, st llb
"name": ref.String(),
"push": "true",
},
})
}, p.platform)
if err != nil {
return st, err
@@ -913,7 +913,7 @@ func (p *Pipeline) SaveImage(ctx context.Context, op *compiler.Value, st llb.Sta
Output: func(_ map[string]string) (io.WriteCloser, error) {
return pipeW, nil
},
})
}, p.platform)
if err != nil {
return st, err