Skip to content

Commit d122db2

Browse files
authored
Update remote-definition.md
1 parent 5a711dd commit d122db2

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

content/manuals/build/bake/remote-definition.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,15 @@ keywords: build, buildx, bake, file, remote, git, http
66

77
You can build Bake files directly from a remote [Git repository](../concepts/context.md#git-repositories):
88

9-
{{<tabs>}}
10-
11-
{{<tab name="Git HTTPS">}}
12-
13-
```console
14-
docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print
15-
```
16-
17-
{{</tab>}}
18-
19-
{{<tab name="Git SSH">}}
20-
219
```console
22-
docker buildx bake "[email protected]:docker/cli.git#v20.10.11" --print
10+
$ docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print
11+
#1 [internal] load git source https://github.com/docker/cli.git#v20.10.11
12+
#1 0.745 e8f1871b077b64bcb4a13334b7146492773769f7 refs/tags/v20.10.11
13+
#1 2.022 From https://github.com/docker/cli
14+
#1 2.022 * [new tag] v20.10.11 -> v20.10.11
15+
#1 DONE 2.9s
2316
```
2417

25-
{{</tab>}}
26-
27-
{{<tab name="HTTP/HTTPS">}}
28-
29-
```console
30-
docker buildx bake "https://raw.githubusercontent.com/docker/cli/v20.10.11/docker-bake.hcl" --print
31-
```
32-
{{</tab>}}
33-
34-
{{</tabs>}}
35-
3618
This fetches the Bake definition from the specified remote location and
3719
executes the groups or targets defined in that file. If the remote Bake
3820
definition doesn't specify a build context, the context is automatically set to

0 commit comments

Comments
 (0)