Skip to content

Commit

Permalink
Merge pull request #51 from larslemos/dev
Browse files Browse the repository at this point in the history
Updated docs and action syntax
  • Loading branch information
larslemos authored Jul 26, 2023
2 parents afffd67 + c76281b commit 64102c3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
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

0 comments on commit 64102c3

Please sign in to comment.