Skip to content

Commit

Permalink
ci workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
somnathbm committed Nov 22, 2024
1 parent bb1530e commit e7ac5df
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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: ${{ secerets.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}}

0 comments on commit e7ac5df

Please sign in to comment.