Skip to content

Commit

Permalink
bumping to current redis, and testing multiple go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim committed Oct 10, 2023
1 parent ffd279d commit f20e915
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: ['1.19.0', '1.20.0', '1.21.2']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
go-version: ${{matrix.go-version}}
- name: install tools
run: sudo apt install -y make build-essential gcc redis-tools

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM redis:7.2-rc as builder
FROM redis:7.2.1 as builder

ARG GO_VER=1.20.1
ARG GO_VER=1.21.2

ADD ./ /build
RUN apt update -qq && apt-get install -qqy build-essential wget libffi-dev
Expand All @@ -14,7 +14,7 @@ RUN make all

# -------------------------------------------------------- #

FROM redis:7.2-rc as runner
FROM redis:7.2.1 as runner
ARG REDICRYPT_KEY=default
ENV REDICRYPT_KEY ${REDICRYPT_KEY}
COPY --from=builder /build/dist/redicrypt.so /usr/local/lib/redicrypt.so
Expand Down

0 comments on commit f20e915

Please sign in to comment.