Skip to content

Commit deef96f

Browse files
authored
Merge pull request #4 from withlogicco/ci-multiline-env
ECS: Fix multi-line string env
2 parents 191c4fe + 273af52 commit deef96f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ecs.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ on:
2424
required: false
2525
type: string
2626
default: ''
27-
env:
28-
GIT_SHA: ${{ github.sha }}
2927

3028
permissions:
3129
id-token: write
@@ -37,14 +35,14 @@ jobs:
3735
runs-on: ubuntu-latest
3836
steps:
3937
- uses: actions/checkout@v3
40-
- run: echo ${{ inputs.env }} >> $GITHUB_ENV
38+
- run: echo '${{ inputs.env }}' >> $GITHUB_ENV
4139
- uses: docker/setup-buildx-action@v2
42-
- uses: aws-actions/configure-aws-credentials@v1
40+
- uses: aws-actions/configure-aws-credentials@v1.7.0
4341
with:
4442
role-to-assume: ${{ inputs.iam_role }}
4543
role-session-name: withlogicco-workflows-ecs-${{ github.run_id }}
4644
aws-region: ${{ inputs.region }}
47-
- uses: docker/login-action@v1
45+
- uses: docker/login-action@v2.1.0
4846
with:
4947
registry: ${{ inputs.ecr-registry }}
5048
- uses: withlogicco/setup-compose-cli@v1

0 commit comments

Comments
 (0)