Skip to content

Commit eb4675d

Browse files
committed
resolved bugs in cicd
1 parent 1d6f168 commit eb4675d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cicd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
script: |
8686
aws configure set aws_access_key_id ${{secrets.AWS_ACCESS_KEY_ID }}
8787
aws configure set aws_secret_access_key ${{secrets.AWS_SECRET_ACCESS_KEY }}
88-
aws set default.region eu-north-1
88+
aws configure set default.region eu-north-1
8989
aws ecr get-login-password --region eu-north-1 | docker login --username AWS --password-stdin 843369994444.dkr.ecr.eu-north-1.amazonaws.com
9090
docker pull 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest
9191
docker stop text-classification || true
9292
docker rm text-classification || true
93-
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
93+
docker run -d -p 80:5000 -e DAGSHUB_PAT= ${{ secrets.DAGSHUB_PAT }} 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest

0 commit comments

Comments
 (0)