clickhouse-sink-connector/.github/workflows/docker-image.yml

23 lines
549 B
YAML

name: Docker Image CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Build the Docker image
run: docker build . --file docker/Dockerfile-sink-on-debezium-base-image --tag my-image-name:$(date +%s)