mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-17 03:42:26 +08:00
chore: renew github flow
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,7 +1,6 @@
|
||||
.PHONY: demo build swag
|
||||
|
||||
REGISTRY=localhost
|
||||
IMAGE_TAG=`git describe --tags`
|
||||
tag=`git describe --abbrev=0 --tags`
|
||||
|
||||
swag:
|
||||
@scripts/swag_init.sh
|
||||
@@ -19,9 +18,9 @@ blog:
|
||||
backup:
|
||||
@scripts/run_app.sh backup
|
||||
|
||||
# build docker
|
||||
build:
|
||||
@scripts/run_build.sh $(REGISTRY) $(IMAGE_TAG)
|
||||
# dist tar
|
||||
dist:
|
||||
@scripts/dist_tar.sh $(tag)
|
||||
|
||||
# protoc
|
||||
protoc:
|
||||
|
||||
Reference in New Issue
Block a user