Skip to content

Commit 256948b

Browse files
author
Julien Ruaux
committed
build: Added docker image build and push
1 parent c82b19d commit 256948b

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

.github/workflows/early-access.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,21 @@ jobs:
7474
out/jreleaser/trace.log
7575
out/jreleaser/output.properties
7676
out/jreleaser/release/CHANGELOG.md
77+
78+
- name: Set up QEMU
79+
uses: docker/setup-qemu-action@v2
80+
81+
- name: Set up Docker Buildx
82+
uses: docker/setup-buildx-action@v2
83+
84+
- name: Login to DockerHub
85+
uses: docker/login-action@v2
86+
with:
87+
username: ${{ secrets.DOCKER_USERNAME }}
88+
password: ${{ secrets.DOCKER_PASSWORD }}
89+
90+
- name: Build and push
91+
uses: docker/build-push-action@v3
92+
with:
93+
push: ${{ github.event_name != 'pull_request' }}
94+
tags: jruaux/trino-redisearch:latest

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
version: '3.6'
22
services:
33

4-
redismod:
4+
redis:
55
image: redislabs/redismod
6-
hostname: redismod
7-
container_name: redismod
6+
hostname: redis
7+
container_name: redis
88
ports:
99
- "6379:6379"
1010
restart: always
1111

1212
trino:
13-
image: redis/trino-redisearch
13+
image: jruaux/trino-redisearch
1414
build:
1515
context: .
1616
hostname: trino
1717
container_name: trino
1818
ports:
1919
- "8080:8080"
2020
depends_on:
21-
- redismod
21+
- redis
2222
environment:
23-
REDISEARCH_URI: 'redis://redismod:6379'
23+
REDISEARCH_URI: 'redis://redis:6379'

0 commit comments

Comments
 (0)