Skip to content

Commit dd8082e

Browse files
Update build_and_scan_image.yml
1 parent c8d1907 commit dd8082e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build_and_scan_image.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ jobs:
1313
id-token: write
1414
contents: read
1515

16-
16+
# Clean up AWS credentials cache if any
17+
1718
steps:
19+
- name: Clean up old AWS credentials
20+
run: |
21+
rm -rf ~/.aws
1822
- name: Checkout this repository
1923
uses: actions/checkout@v4
2024

@@ -31,10 +35,7 @@ jobs:
3135
file: ./Dockerfile
3236
push: false
3337
load: true
34-
# Clean up AWS credentials cache if any
35-
- name: Clean up old AWS credentials
36-
run: |
37-
rm -rf ~/.aws
38+
3839

3940

4041
# modify this block based on how you authenticate to AWS

0 commit comments

Comments
 (0)