chore: default Dockerfile

This commit is contained in:
deepzz0
2021-04-29 10:53:54 +08:00
parent 3e2b746319
commit 0ae5e6c9fc

View File

@@ -22,6 +22,7 @@ for file in pkg/core/*; do
CGO_ENABLED=0 go build -o bin/backend "./cmd/$app"
# docker image
docker buildx build --platform "$_platform" \
-f "build/package/$app.Dockerfile" \
-t "$_registry/$app:latest" \
-t "$_registry/$app:$_tag" \
--push .