Skip to content

OZ-708: Infer RPC_PROTOCOL from host url #17

OZ-708: Infer RPC_PROTOCOL from host url

OZ-708: Infer RPC_PROTOCOL from host url #17

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 }}
license:
needs: validate
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-license-check.yml@main
spotless:
needs: license
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-spotless-check.yml@main
maven-publish:
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: "fhir-odoo"
artifact-path: "fhir-odoo-app/target/*.jar"
upload-artifacts: true
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
docker-publish:
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }}
needs: maven-publish
uses: mekomsolutions/shared-github-workflow/.github/workflows/docker-build-publish.yml@main
with:
artifact-name: "fhir-odoo"
artifact-path: "fhir-odoo-app/target"
download-artifacts: true
image-name: "fhir-odoo"
secrets:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_REGISTRY_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_REGISTRY_PASSWORD }}