Skip to content

OZ-476: Added ShutdownHandler #45

OZ-476: Added ShutdownHandler

OZ-476: Added ShutdownHandler #45

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [published]
jobs:
validate:
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@main
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
spotless:
needs: validate
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-spotless-check.yml@main
release:
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }}
needs: spotless
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@main
with:
artifact-name: "eip-client"
artifact-path: "app/target/eip-client.zip"
upload-artifacts: true
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
docker-release:
needs: release
uses: mekomsolutions/shared-github-workflow/.github/workflows/docker-build-publish.yml@main
with:
artifact-name: "eip-client"
artifact-path: "app/target"
download-artifacts: true
image-name: "eip-client"
secrets:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_REGISTRY_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_REGISTRY_PASSWORD }}