Skip to content

Commit 0010041

Browse files
author
Julien Ruaux
committed
build: fixed docker image build and push
1 parent 5db92c3 commit 0010041

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/early-access.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,21 @@ jobs:
7373
out/jreleaser/trace.log
7474
out/jreleaser/output.properties
7575
out/jreleaser/release/CHANGELOG.md
76-
77-
- name: Log in to Docker Hub
76+
77+
- name: Set up QEMU
78+
uses: docker/setup-qemu-action@v2
79+
80+
- name: Set up Docker Buildx
81+
uses: docker/setup-buildx-action@v2
82+
83+
- name: Login to DockerHub
7884
uses: docker/login-action@v2
7985
with:
8086
username: ${{ secrets.DOCKER_USERNAME }}
8187
password: ${{ secrets.DOCKER_PASSWORD }}
82-
83-
- name: Extract metadata (tags, labels) for Docker
84-
id: meta
85-
uses: docker/metadata-action@v4
86-
with:
87-
images: jruaux/redis-kafka-connect
88-
89-
- name: Build and push Docker image
88+
89+
- name: Build and push
9090
uses: docker/build-push-action@v3
9191
with:
92-
context: .
9392
push: ${{ github.event_name != 'pull_request' }}
94-
tags: ${{ steps.meta.outputs.tags }}
95-
labels: ${{ steps.meta.outputs.labels }}
93+
tags: jruaux/redis-kafka-connect:latest

0 commit comments

Comments
 (0)