Skip to content

Commit

Permalink
resolved bugs in cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
2003HARSH committed Nov 10, 2024
1 parent 1d6f168 commit eb4675d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ jobs:
script: |
aws configure set aws_access_key_id ${{secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{secrets.AWS_SECRET_ACCESS_KEY }}
aws set default.region eu-north-1
aws configure set default.region eu-north-1
aws ecr get-login-password --region eu-north-1 | docker login --username AWS --password-stdin 843369994444.dkr.ecr.eu-north-1.amazonaws.com
docker pull 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest
docker stop text-classification || true
docker rm text-classification || true
docker run -d -p 80:5000 -e DAGSHUB_PAT= ${{ secrets.DAGSHUB_PAT }} --name text-classification 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest
docker run -d -p 80:5000 -e DAGSHUB_PAT= ${{ secrets.DAGSHUB_PAT }} 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest

0 comments on commit eb4675d

Please sign in to comment.