feat: 更新本地编译命令
This commit is contained in:
@@ -29,7 +29,7 @@ build-arg+=--build-arg LOCAL_URL=https://local.colovu.com/dist
|
||||
|
||||
build:
|
||||
@echo "Build $(image_name):$(image_tag)"
|
||||
@docker build --force-rm $(build-arg) -t $(image_name):$(image_tag) .
|
||||
@docker buildx build --force-rm $(build-arg) -t $(image_name):$(image_tag) .
|
||||
@echo "Add tag: $(image_name):latest"
|
||||
@docker tag $(image_name):$(image_tag) $(image_name):latest
|
||||
@echo "Build complete"
|
||||
|
||||
Reference in New Issue
Block a user