Skip to content

Commit

Permalink
updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 30, 2023
1 parent ef2964f commit 99fb320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analytics-service/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ fi

# build image
echo "Building image ..."
docker buildx create --use --name multi-builder --platform linux/amd64 -t "$NAME" "$BUILD_DIR"
#docker buildx build --platform linux/amd64 -t "$NAME" "$BUILD_DIR"
# docker buildx create --use --name multi-builder --platform linux/amd64 -t "$NAME" "$BUILD_DIR"
docker buildx build --platform linux/amd64 --load -t "$NAME" "$BUILD_DIR"

docker save -o "$DIST_DIR/image.tar" "$NAME"
zip -j "$DIST_DIR/$IMG_NAME.zip" "$BUILD_DIR/cumulocity.json" "$DIST_DIR/image.tar"
Expand Down

0 comments on commit 99fb320

Please sign in to comment.