@@ -40,6 +40,7 @@ cluster-base-image:
40
40
--build-arg DASK_VERSION=${DASK_VERSION} \
41
41
--build-arg PYTHON_VERSION=${PYTHON_VERSION} \
42
42
--load \
43
+ --output type=docker \
43
44
-t ${CLUSTER_BASE_IMAGE} \
44
45
-f ./Dockerfile-cluster-base \
45
46
.
@@ -49,6 +50,7 @@ cluster-image: cluster-base-image $(LIB_LIGHTGBM)
49
50
docker buildx build \
50
51
--build-arg BASE_IMAGE=${CLUSTER_BASE_IMAGE} \
51
52
--load \
53
+ --output type=docker \
52
54
-t ${CLUSTER_IMAGE} \
53
55
-f ./Dockerfile-cluster \
54
56
.
@@ -61,7 +63,7 @@ delete-repo:
61
63
aws --region ${AWS_REGION} \
62
64
ecr-public batch-delete-image \
63
65
--repository-name ${CLUSTER_IMAGE_NAME} \
64
- --image-ids imageTag=${DASK_VERSION }
66
+ --image-ids imageTag=${IMAGE_TAG }
65
67
aws --region ${AWS_REGION} \
66
68
ecr-public delete-repository \
67
69
--repository-name ${CLUSTER_IMAGE_NAME}
@@ -122,6 +124,7 @@ notebook-base-image:
122
124
--build-arg DASK_VERSION=${DASK_VERSION} \
123
125
--build-arg PYTHON_VERSION=${PYTHON_VERSION} \
124
126
--load \
127
+ --output type=docker \
125
128
-t ${NOTEBOOK_BASE_IMAGE} \
126
129
-f ./Dockerfile-notebook-base \
127
130
.
@@ -131,6 +134,7 @@ notebook-image: notebook-base-image $(LIB_LIGHTGBM)
131
134
docker buildx build \
132
135
--build-arg BASE_IMAGE=${NOTEBOOK_BASE_IMAGE} \
133
136
--load \
137
+ --output type=docker \
134
138
-t ${NOTEBOOK_IMAGE} \
135
139
-f ./Dockerfile-notebook \
136
140
.
@@ -161,6 +165,7 @@ profiling-image: cluster-image
161
165
docker buildx build \
162
166
--build-arg BASE_IMAGE=${CLUSTER_IMAGE} \
163
167
--load \
168
+ --output type=docker \
164
169
-t ${PROFILING_IMAGE} \
165
170
-f ./Dockerfile-profiling \
166
171
.
@@ -188,10 +193,10 @@ push-image: create-repo
188
193
--username AWS \
189
194
--password-stdin public.ecr.aws
190
195
docker tag \
191
- ${CLUSTER_IMAGE_NAME} :${DASK_VERSION } \
192
- $$(cat ./ecr-details.json | jq .'repository'.'repositoryUri' | tr -d '"' ) :${DASK_VERSION }
196
+ ${CLUSTER_IMAGE_NAME} :${IMAGE_TAG } \
197
+ $$(cat ./ecr-details.json | jq .'repository'.'repositoryUri' | tr -d '"' ) :${IMAGE_TAG }
193
198
docker push \
194
- $$(cat ./ecr-details.json | jq .'repository'.'repositoryUri' | tr -d '"' ) :${DASK_VERSION }
199
+ $$(cat ./ecr-details.json | jq .'repository'.'repositoryUri' | tr -d '"' ) :${IMAGE_TAG }
195
200
196
201
.PHONY : start-notebook
197
202
start-notebook :
0 commit comments