Skip to content

Deploy to partnersinhealth/openmrs-maven-build #11

Deploy to partnersinhealth/openmrs-maven-build

Deploy to partnersinhealth/openmrs-maven-build #11

# For every commit or tag that is pushed, but image from it and push this to docker hub
name: Deploy to partnersinhealth/openmrs-maven-build
on:
push:
branches:
- 'main'
create:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Check out the code
- uses: actions/checkout@v2
# Perform docker build and push on openmrs-server
- name: Build/Push docker image
uses: docker/build-push-action@v1
with:
path: ./openmrs-maven-build
username: pihci
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: partnersinhealth/openmrs-maven-build
tag_with_ref: true
tag_with_sha: false
add_git_labels: true
tags: latest