mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
chore: default Dockerfile
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user