File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3232 docker build -t ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-frontend:${{ github.sha }} ./frontend-service
3333 docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-frontend:${{ github.sha }}
3434
35+ docker build -t ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-product-service:${{ github.sha }} ./product-service
36+ docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-product-service:${{ github.sha }}
37+
38+ docker build -t ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-order-service:${{ github.sha }} ./order-service
39+ docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-order-service:${{ github.sha }}
40+
41+ - name : Deploy Product Service
42+ uses : aws-actions/amazon-ecs-deploy-express-service@v1
43+ with :
44+ service-name : spookymart-product-service
45+ image : ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-product-service:${{ github.sha }}
46+ execution-role-arn : ${{ secrets.ECS_EXECUTION_ROLE_ARN }}
47+ infrastructure-role-arn : ${{ secrets.ECS_INFRASTRUCTURE_ROLE_ARN }}
48+ container-port : 3001
49+
50+ - name : Deploy Order Service
51+ uses : aws-actions/amazon-ecs-deploy-express-service@v1
52+ with :
53+ service-name : spookymart-order-service
54+ image : ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/spookymart-order-service:${{ github.sha }}
55+ execution-role-arn : ${{ secrets.ECS_EXECUTION_ROLE_ARN }}
56+ infrastructure-role-arn : ${{ secrets.ECS_INFRASTRUCTURE_ROLE_ARN }}
57+ container-port : 3002
58+
3559 - name : Deploy Frontend
3660 uses : aws-actions/amazon-ecs-deploy-express-service@v1
3761 with :
You can’t perform that action at this time.
0 commit comments