OZ-760: Use O3_DOCKER_IMAGE_TAG nightly
and OpenMRS core nightly-amazoncorretto-11
#171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
with: | |
java-version: "8" | |
secrets: | |
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | |
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | |
release: | |
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }} | |
needs: validate | |
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@main | |
secrets: | |
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | |
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} |