Skip to content
# For every commit or tag that is pushed, but image from it and push this to docker hub
name: Deploy to partnersinhealth/percona-0.1-4
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: ./percona-0.1-4
username: pihci
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: partnersinhealth/percona-0.1-4
tag_with_ref: true
tag_with_sha: false
add_git_labels: true
tags: latest