Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Meilisearch 1.5.1 #3

Merged
merged 2 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- uses: actions/checkout@v2

- name: Build Meilisearch binary
run: MEILISEARCH_VERSION="0.28.1" ./scripts/build
run: MEILISEARCH_VERSION="1.5.1" ./scripts/build

- name: Create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./build/meilisearch-0.28.1
files: ./build/meilisearch-1.5.1
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM centos:7
ARG MEILISEARCH_VERSION

# Install newer version of gcc etc.
RUN yum install -y centos-release-scl
RUN yum -y install devtoolset-7-gcc

# Install Rust
RUN yum group install -y "Development Tools"
RUN curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Expand All @@ -11,4 +15,4 @@ RUN tar zxf meilisearch.tar.gz

# Build
WORKDIR "meilisearch-${MEILISEARCH_VERSION}"
RUN ~/.cargo/bin/cargo build --release
RUN scl enable devtoolset-7 "~/.cargo/bin/cargo build --release"
1 change: 1 addition & 0 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e

# Build Meilisearch binary in Docker
docker build \
--platform linux/amd64 \
--tag meilisearch-centos7:${MEILISEARCH_VERSION} \
--build-arg MEILISEARCH_VERSION=${MEILISEARCH_VERSION} \
.
Expand Down
Loading