Skip to content

fix(sink-elasticsearch): add connection check (#91) #4

fix(sink-elasticsearch): add connection check (#91)

fix(sink-elasticsearch): add connection check (#91) #4

name: Publish standalone image with tag
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: publish local java-toolkit
working-directory: ./java-toolkit
run: ./gradlew publishToMavenLocal -PdisableSigning --info --refresh-dependencies
- name: build images
working-directory: ./sink-elasticsearch
run: |
export CONNECTOR_IMAGE_VERSION=standalone_${GITHUB_REF#refs/*/}
./gradlew buildImages
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push images to dockerhub
run: docker push hstreamdb/sink-elasticsearch:standalone_${GITHUB_REF#refs/*/}