Skip to content

Commit b5cf4ee

Browse files
committed
Use docker buildx; add a versioned tag
1 parent 9058b9c commit b5cf4ee

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docker-build

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
#!/bin/bash
2-
3-
docker build -t iay/md-validator .
2+
#
3+
# Build the image into the local image list under the iay namespace.
4+
#
5+
# Note that I use `ianayoung` on Docker Hub.
6+
#
7+
docker buildx build \
8+
--tag iay/md-validator:latest \
9+
--tag iay/md-validator:0.10 \
10+
--output=type=docker \
11+
.

0 commit comments

Comments
 (0)