Skip to content

Commit 46ee254

Browse files
committed
Add shell to lines that need it, remove permissions field.
1 parent a80b1af commit 46ee254

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/deploy-cda/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ inputs:
3030

3131
runs:
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
@@ -42,6 +39,7 @@ runs:
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
@@ -57,6 +55,7 @@ runs:
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
@@ -73,6 +72,7 @@ runs:
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
@@ -83,5 +83,6 @@ runs:
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

0 commit comments

Comments
 (0)