Skip to content

HMS-Patient-Mgmt-svc-CI-Deployment #13

HMS-Patient-Mgmt-svc-CI-Deployment

HMS-Patient-Mgmt-svc-CI-Deployment #13

Workflow file for this run

name: HMS-Patient-Mgmt-svc-CI-Deployment
run-name: HMS-Patient-Mgmt-svc-CI-Deployment
on:
push:
tags:
- v*
jobs:
publish_image:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build & publish the image
uses: docker/build-push-action@v6
with:
context: ./src
push: true
tags: somnathbm/hms-patient-mgmt-svc:${{github.ref_name}}