Skip to content

ci: build standalone with tag (#90) #92

ci: build standalone with tag (#90)

ci: build standalone with tag (#90) #92

name: Publish
on:
push:
branches: [ "main" ]
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
run: make build_images
- 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: ./scripts/publish_images.sh conf/ci_publish_images