Skip to content

Commit e7b58a5

Browse files
author
Julien Ruaux
committed
build: Added docker image push for releases
1 parent 58c5096 commit e7b58a5

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/early-access.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ jobs:
9191
uses: docker/build-push-action@v3
9292
with:
9393
push: ${{ github.event_name != 'pull_request' }}
94-
tags: jruaux/trino-redisearch:latest
94+
tags: jruaux/trino-redisearch:early-access

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)