File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1- .PHONY : build build-linux run build-image deploy test docs
1+ .PHONY : build build-linux run build-image-linux build-image-arm deploy test docs
22IMAGE_NAME := approved-api
33IMAGE_TAG := latest
44
@@ -17,7 +17,12 @@ run: build
1717run-dev : docs build
1818 @go run cmd/main.go
1919
20- build-image : docs
20+ build-image-linux : build-linux docs
21+ echo " Building ${IMAGE_NAME} :${IMAGE_TAG} image..." ;
22+ docker build -f Dockerfile -t ${IMAGE_NAME} :${IMAGE_TAG} . ;
23+ echo " Image ${IMAGE_NAME} :${IMAGE_TAG} built." ;
24+
25+ build-image-arm : build docs
2126 echo " Building ${IMAGE_NAME} :${IMAGE_TAG} image..." ;
2227 docker build -f arm.Dockerfile -t ${IMAGE_NAME} :${IMAGE_TAG} . ;
2328 echo " Image ${IMAGE_NAME} :${IMAGE_TAG} built." ;
You can’t perform that action at this time.
0 commit comments