File tree Expand file tree Collapse file tree
.github/actions/deploy-cda Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ inputs:
3030
3131runs :
3232 using : " composite"
33- permissions :
34- id-token : write # This is required for requesting the JWT
35- contents : read # This is required for actions/checkout
3633 steps :
3734 - name : Configure AWS Credentials
3835 uses : aws-actions/configure-aws-credentials@v6
4239 output-credentials : true
4340 # Hello from AWS: WhoAmI
4441 - name : Sts GetCallerIdentity
42+ shell : bash
4543 run : |
4644 aws sts get-caller-identity
4745 - name : Login to Amazon ECR
5755 ACTIVE_TAG : ${{input.activation_tag}}
5856 ACTIVATE : ${{input.activate}}
5957 IMAGE : ghcr.io/usace/cwms-data-api
58+ shell : bash
6059 run : |
6160 docker pull ${IMAGE}:${{IMAGE_TAG}}
6261 docker tag $IMAGE:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
7372 ACTIVE_TAG : ${{input.activation_tag}}
7473 ACTIVATE : ${{input.activate}}
7574 IMAGE : ghcr.io/usace/cwms-data-api-schema-migration
75+ shell : bash
7676 run : |
7777 docker pull ${IMAGE}:${{IMAGE_TAG}}
7878 docker tag $IMAGE:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
8383 }
8484 - name : ECR Logout
8585 if : always()
86+ shell : bash
8687 run : docker logout ${{ steps.login-ecr.outputs.registry }}
8788 # TODO after verification this works: create or consume appropriate schema_installer image
You can’t perform that action at this time.
0 commit comments