@@ -6,7 +6,7 @@ set dotenv-load
66# set env var
77export APP := " compose_image_name"
88export CPU := " 2"
9- export IMAGE := `echo ${REGISTRY_URL}/ it
9+ export IMAGE := ` echo ${REGISTRY_URL} `
1010export MEM := " 2048"
1111export NS := " default"
1212export PROF := " minikube"
@@ -47,14 +47,13 @@ build:
4747 echo " building ${APP_NAME}:${TAG}"
4848
4949 if [[ {{ arch }} == " arm64" ]]; then
50- docker build -f Dockerfile -t it / ${APP_NAME}:${TAG} --build-arg CHIPSET_ARCH=aarch64 -linux-gnu .
50+ docker build -f Dockerfile -t ${APP_NAME}:${TAG} --build-arg CHIPSET_ARCH=aarch64 -linux-gnu .
5151 else
52- docker build -f Dockerfile -t it / ${APP_NAME}:${TAG} --build-arg CHIPSET_ARCH=x86 _64 -linux-gnu .
52+ docker build -f Dockerfile -t ${APP_NAME}:${TAG} --build-arg CHIPSET_ARCH=x86 _64 -linux-gnu .
5353 fi
5454
55- echo " created tag it/ ${APP_NAME}:${TAG} {{ IMAGE}} /${APP_NAME}:${TAG}"
55+ echo " created tag ${APP_NAME}:${TAG} {{ IMAGE}} /${APP_NAME}:${TAG}"
5656
57- # TODO: QA
5857# [docker] intel build
5958buildx :
6059 docker buildx build -f Dockerfile --progress=plain -t ${TAG} --build-arg CHIPSET_ARCH=x86 _64 -linux-gnu --load .
@@ -87,7 +86,7 @@ release:
8786 docker push {{ IMAGE}} / ${APP_NAME}:${TAG}
8887
8988# [docker] start docker-compose container
90- start :
89+ up :
9190 docker-compose up -d
9291
9392# [docker] ssh into container
@@ -104,11 +103,10 @@ down: stop
104103
105104# [docker] tag image as latest
106105tag-latest :
107- @ echo " create tag it/ ${APP_NAME}:${TAG} {{ IMAGE}} /${APP_NAME}:${TAG}"
108- docker tag it / ${APP_NAME}:${TAG} {{ IMAGE}} / ${APP_NAME}:${TAG}
106+ @ echo " create tag ${APP_NAME}:${TAG} {{ IMAGE}} /${APP_NAME}:${TAG}"
107+ docker tag ${APP_NAME}:${TAG} {{ IMAGE}} / ${APP_NAME}:${TAG}
109108
110- # TODO: QA
111109# [docker] tag image from VERSION file
112110tag-version :
113- @ echo " create tag it/ ${APP_NAME}:{{ VERSION}} {{ IMAGE}} /${APP_NAME}:${TAG}"
114- docker tag it / ${APP_NAME}:{{ VERSION}} {{ IMAGE}} / ${APP_NAME}:${TAG}
111+ @ echo " create tag ${APP_NAME}:{{ VERSION}} {{ IMAGE}} /${APP_NAME}:${TAG}"
112+ docker tag ${APP_NAME}:{{ VERSION}} {{ IMAGE}} / ${APP_NAME}:${TAG}
0 commit comments