File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
6363 echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
6464
65- Continuous- Deployment :
65+ Continuous Deployment :
6666 needs : build-and-push-ecr-image
6767 runs-on : self-hosted
6868 steps :
9595 run : |
9696 docker pull ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
9797
98- - name : Stop and remove container if running
99- run : |
100- docker ps -q --filter "name=network_security" | grep -q . && docker stop network_security && docker rm -fv network_security
98+ # - name: Stop and remove container if running
99+ # run: |
100+ # docker ps -q --filter "name=network_security" | grep -q . && docker stop network_security && docker rm -fv network_security
101101
102102 - name : Run Docker Image to serve users
103103 run : |
You can’t perform that action at this time.
0 commit comments