mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +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"
|
CGO_ENABLED=0 go build -o bin/backend "./cmd/$app"
|
||||||
# docker image
|
# docker image
|
||||||
docker buildx build --platform "$_platform" \
|
docker buildx build --platform "$_platform" \
|
||||||
|
-f "build/package/$app.Dockerfile" \
|
||||||
-t "$_registry/$app:latest" \
|
-t "$_registry/$app:latest" \
|
||||||
-t "$_registry/$app:$_tag" \
|
-t "$_registry/$app:$_tag" \
|
||||||
--push .
|
--push .
|
||||||
|
|||||||
Reference in New Issue
Block a user