Skip to content

Commit

Permalink
[Rahul] | BAH-4097 | Add. AppVersion Based Image Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh authored Sep 16, 2024
1 parent a7f3102 commit 0bb73a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_publish_cdss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
name: Build & Publish Docker Image
runs-on: ubuntu-latest
steps:
- name: Set env.ARTIFACT_VERSION
uses: actions/checkout@v2
run: |
wget -q https://raw.githubusercontent.com/Bahmni/bahmni-infra-utils/main/setArtifactVersion.sh && chmod +x setArtifactVersion.sh
./setArtifactVersion.sh
rm setArtifactVersion.sh
- name: Checkout repository
uses: actions/checkout@v2

Expand Down Expand Up @@ -44,4 +51,4 @@ jobs:
platforms: linux/amd64,linux/arm64
file: package/docker/cdss/Dockerfile
push: true
tags: bahmni/cdss-reference:snomed-${{ github.run_number }},bahmni/cdss-reference:latest
tags: bahmni/cdss-reference:snomed-${{ github.run_number }},bahmni/cdss-reference:${{ env.ARTIFACT_VERSION }},bahmni/cdss-reference:latest
1 change: 1 addition & 0 deletions package/.appversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.0

0 comments on commit 0bb73a4

Please sign in to comment.