From a417bc59a48479ff34bec3e208235d3e69a407a9 Mon Sep 17 00:00:00 2001 From: abdurawoof Date: Thu, 12 Dec 2024 18:25:25 +0530 Subject: [PATCH] updated docker build --- .github/workflows/catalog.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/catalog.yml b/.github/workflows/catalog.yml index 17d12c1..8b473fb 100644 --- a/.github/workflows/catalog.yml +++ b/.github/workflows/catalog.yml @@ -89,12 +89,12 @@ jobs: export NEW_IMAGE_URI="583275065488.dkr.ecr.us-east-2.amazonaws.com/catalog:$IMAGE_TAG" echo "NEW_IMAGE_URI=$NEW_IMAGE_URI" >> $GITHUB_ENV - docker build --build-arg TOKEN=${{ secrets.TOKEN }} -f docker/Dockerfile -t test-catalog:$IMAGE_TAG . - docker tag test-catalog:$IMAGE_TAG $NEW_IMAGE_URI + sudo docker build --build-arg TOKEN=${{ secrets.TOKEN }} -f docker/Dockerfile -t test-catalog:$IMAGE_TAG . + sudo docker tag test-catalog:$IMAGE_TAG $NEW_IMAGE_URI - name: Push Docker image to Amazon ECR run: | - docker push $NEW_IMAGE_URI + sudo docker push $NEW_IMAGE_URI - name: Set environment variables and profile feeds run: |