Skip to content

Commit

Permalink
"Sreelekha | MOBN-2437 | Update build_publish.yml to have ipd tag"
Browse files Browse the repository at this point in the history
  • Loading branch information
SreelekhaDarsi committed Jul 26, 2024
1 parent 26acb54 commit 51dc179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Package
run: cd ui && yarn cache clean && /bin/bash ./scripts/package.sh --force
- name: Build docker image
run: docker build -t bahmni-web:latest -f package/docker/Dockerfile .
run: docker build -t bahmni-web:ipd -f package/docker/Dockerfile .
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
Expand All @@ -65,7 +65,7 @@ jobs:
REPOSITORY: bahmni-msf-lite/bahmni-web
IMAGE_TAG: ${{ env.ARTIFACT_VERSION }}
run: |
docker tag bahmni-web:latest $REGISTRY/$REPOSITORY:latest
docker tag bahmni-web:latest $REGISTRY/$REPOSITORY:$IMAGE_TAG
docker tag bahmni-web:ipd $REGISTRY/$REPOSITORY:ipd
docker tag bahmni-web:ipd $REGISTRY/$REPOSITORY:$IMAGE_TAG
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG
docker push $REGISTRY/$REPOSITORY:latest

0 comments on commit 51dc179

Please sign in to comment.