Skip to content

Commit

Permalink
updated docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
AbduRawoof committed Dec 12, 2024
1 parent 5433ac0 commit a417bc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit a417bc5

Please sign in to comment.