cd using github actions

This commit is contained in:
BennyThink
2021-07-22 19:47:05 +08:00
parent 51736011a8
commit 2baace9d4b
5 changed files with 74 additions and 24 deletions

View File

@@ -30,13 +30,11 @@ zip:
docker:
# production configuration
rm -f YYeTsFE/.env
cp .env YYeTsFE/.env
# docker buildx create --use --name mybuilder
docker buildx build --platform=linux/amd64,linux/arm64 -t bennythink/yyetsbot . --push
local:
prod:
make update
docker build --build-arg env=dev \
--build-arg http_proxy=http://192.168.7.67:23456 \
-t bennythink/yyetsbot .
cp .env YYeTsFE/.env
docker build -t bennythink/yyetsbot .