Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MyroTk authored Nov 22, 2023
1 parent 6190d0a commit 4b5f4db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: ${{ env.username != '' }}
- name: Build the Docker image
working-directory: sink-connector
run: docker build . --file docker/Dockerfile-sink-on-debezium-base-image --tag altinity/clickhouse-sink-connector:$(date +%F)
- name: Push docker image to dockerhub
env:
username: ${{ secrets.DOCKERHUB_USERNAME }}
if: ${{ env.username != '' }}
working-directory: sink-connector
run: docker push altinity/clickhouse-sink-connector:$(date +%F)
run: docker push altinity/clickhouse-sink-connector:$(date +%F)

0 comments on commit 4b5f4db

Please sign in to comment.