From 51dc1792163f836215a4bbdb51a97d07cdf49ca3 Mon Sep 17 00:00:00 2001 From: SreelekhaDarsi Date: Fri, 26 Jul 2024 18:33:02 +0530 Subject: [PATCH] "Sreelekha | MOBN-2437 | Update build_publish.yml to have ipd tag" --- .github/workflows/build_publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_publish.yml b/.github/workflows/build_publish.yml index b2f490b348..eab7247fe3 100644 --- a/.github/workflows/build_publish.yml +++ b/.github/workflows/build_publish.yml @@ -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: @@ -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 \ No newline at end of file