Skip to content

Commit 9407f37

Browse files
committed
Fix slim docker image build/push in CI
1 parent bf99bc3 commit 9407f37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ docker build "$ROOT" \
4545
-t cortexlabs/${image} \
4646
-t cortexlabs/${image}:${CORTEX_VERSION}
4747

48-
if [ "$slim" == "true"]; then
48+
if [ "$slim" == "true" ]; then
4949
docker build "$ROOT" \
5050
-f $dir/Dockerfile \
5151
--build-arg SLIM=true \

build/push-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
4141

4242
docker push cortexlabs/${image}:${CORTEX_VERSION}
4343

44-
if [ "$slim" == "true"]; then
44+
if [ "$slim" == "true" ]; then
4545
docker push cortexlabs/${image}-slim:${CORTEX_VERSION}
4646
fi

0 commit comments

Comments
 (0)