Merge pull request #245 from tonistiigi/gateway-source

gateway: allow skipping tag in source parameter
docker-18.09
Akihiro Suda 2017-12-21 16:51:22 +09:00 committed by GitHub
commit d4d096ac48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func (gf *gatewayFrontend) Solve(ctx context.Context, llbBridge frontend.Fronten
return nil, nil, err
}
dgst, config, err := llbBridge.ResolveImageConfig(ctx, sourceRef.String())
dgst, config, err := llbBridge.ResolveImageConfig(ctx, reference.TagNameOnly(sourceRef).String())
if err != nil {
return nil, nil, err
}