Skip to content

Commit 92f7719

Browse files
committed
add docs on how to use load and push options
1 parent fadf038 commit 92f7719

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/developer-notes.md

+14
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,17 @@ docker buildx bake bitcoin-5k-inv
8989
# build the same image, but set platform to only linux/amd64
9090
docker buildx bake bitcoin-5k-inv --set bitcoin-5k-inv.platform=linux/amd64
9191
```
92+
93+
To load the single-platform build result to `docker images`, run:
94+
95+
```bash
96+
docker buildx bake --load bitcoin-5k-inv
97+
```
98+
99+
Push the build result to a registry by running:
100+
101+
```bash
102+
docker buildx bake --push bitcoin-5k-inv
103+
```
104+
105+
It will automatically push the build result to registry.

0 commit comments

Comments
 (0)