From 483f926ed281fbf62945bf8218ac1addd9d86e8d 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_publish.yml b/.github/workflows/build_publish.yml index b2f490b348..c202e92dea 100644 --- a/.github/workflows/build_publish.yml +++ b/.github/workflows/build_publish.yml @@ -38,11 +38,11 @@ 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: - image-ref: 'bahmni-web:latest' + image-ref: 'bahmni-web:ipd' format: 'table' exit-code: '1' ignore-unfixed: true @@ -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 + docker push $REGISTRY/$REPOSITORY:ipd \ No newline at end of file