Skip to content

Commit

Permalink
CI: fix remove container
Browse files Browse the repository at this point in the history
  • Loading branch information
lifnaja committed Mar 31, 2024
1 parent 046adba commit 1350689
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,5 @@ jobs:
export $AWS_SECRET_ACCESS_KEY
aws ecr get-login-password --region ap-southeast-1 | docker login --username AWS --password-stdin 844772501268.dkr.ecr.ap-southeast-1.amazonaws.com
docker pull $DOCKER_IMAGE_WITH_TAG
docker stop training-api | true
docker rm training-api | true
docker rm -f training-api | true
docker run -p 3001:3001 --name training-api -d $DOCKER_IMAGE_WITH_TAG -e $DB_URI

0 comments on commit 1350689

Please sign in to comment.