Skip to content

Commit

Permalink
ensure password is masked on ecr login (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyscarpenter authored Sep 24, 2023
1 parent 7aabed6 commit df2e73e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

# run the int tests
- name: Integration Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker-image-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

- name: Build and push (Amazon ECR)
run: |
Expand Down Expand Up @@ -97,6 +99,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

- name: Sign a docker image
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/performance-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

# Use docker-compose to start required stack
# Pull JSON API image from ECR corresponding to latest commit on main branch
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/postman-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

# Run Stargate coordinator in developer mode to save time / resources
# Pull JSON API image from ECR corresponding to latest commit on main branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

# downloads and prepares datastax assets
- name: Download branding assets
Expand Down Expand Up @@ -186,6 +188,8 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

- name: Sign a docker image
shell: bash
Expand Down

0 comments on commit df2e73e

Please sign in to comment.