Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated docs and action syntax #51

Merged
merged 2 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .github/workflows/ohri-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: OHRI Distro with O3 Images
on:
push:
branches:
- [master-ohri, dev]
- master-ohri
- dev

# Publish semver tags as releases.
pull_request:
Expand All @@ -18,8 +19,29 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11' ]

steps:
- uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build and Test
run: mvn --batch-mode --update-snapshots --activate-profiles validator clean package

docker_setup:
runs-on: ubuntu-latest

if: github.event_name == 'push'
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ New OpenMRS UI is accessible at http://localhost/openmrs/spa

OpenMRS Legacy UI is accessible at http://localhost/openmrs

### Updated and run the next images

```
docker compose -f docker-compose.yml pull
```

```
docker compose -f docker-compose.yml up
```
## Overview

This distribution consists of four images:
Expand Down
Loading