File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 86
86
aws configure set aws_access_key_id ${{secrets.AWS_ACCESS_KEY_ID }}
87
87
aws configure set aws_secret_access_key ${{secrets.AWS_SECRET_ACCESS_KEY }}
88
88
aws configure set default.region eu-north-1
89
+
89
90
aws ecr get-login-password --region eu-north-1 | docker login --username AWS --password-stdin 843369994444.dkr.ecr.eu-north-1.amazonaws.com
91
+
90
92
docker pull 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest
91
- docker stop text-classification || true
92
- docker rm text-classification || true
93
- docker run -d -p 80:5000 -e DAGSHUB_PAT= ${{ secrets.DAGSHUB_PAT }} 843369994444.dkr.ecr.eu-north-1.amazonaws.com/text-classification:latest
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
You can’t perform that action at this time.
0 commit comments