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

Commit

Permalink
Merge pull request #3 from HowTheyVote/meilisearch-1.5.1
Browse files Browse the repository at this point in the history
Meilisearch 1.5.1
  • Loading branch information
tillprochaska authored Jan 6, 2024
2 parents 254dcac + 0306745 commit e8c16d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
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

0 comments on commit e8c16d0

Please sign in to comment.