@@ -6,7 +6,7 @@ set dotenv-load
6
6
# set env var
7
7
export APP := " compose_image_name"
8
8
export CPU := " 2"
9
- export IMAGE := `echo ${REGISTRY_URL}/ it
9
+ export IMAGE := ` echo ${REGISTRY_URL} `
10
10
export MEM := " 2048"
11
11
export NS := " default"
12
12
export PROF := " minikube"
@@ -47,14 +47,13 @@ build:
47
47
echo " building ${APP_NAME}:${TAG}"
48
48
49
49
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 .
51
51
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 .
53
53
fi
54
54
55
- echo " created tag it/ ${APP_NAME}:${TAG} {{ IMAGE}} /${APP_NAME}:${TAG}"
55
+ echo " created tag ${APP_NAME}:${TAG} {{ IMAGE}} /${APP_NAME}:${TAG}"
56
56
57
- # TODO: QA
58
57
# [docker] intel build
59
58
buildx :
60
59
docker buildx build -f Dockerfile --progress=plain -t ${TAG} --build-arg CHIPSET_ARCH=x86 _64 -linux-gnu --load .
@@ -87,7 +86,7 @@ release:
87
86
docker push {{ IMAGE}} / ${APP_NAME}:${TAG}
88
87
89
88
# [docker] start docker-compose container
90
- start :
89
+ up :
91
90
docker-compose up -d
92
91
93
92
# [docker] ssh into container
@@ -104,11 +103,10 @@ down: stop
104
103
105
104
# [docker] tag image as latest
106
105
tag-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}
109
108
110
- # TODO: QA
111
109
# [docker] tag image from VERSION file
112
110
tag-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