Skip to content

Commit 01755d1

Browse files
committed
feat: add Docker login step to VSCode automation workflow for improved security
1 parent 501ad27 commit 01755d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/vscode-automation.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,13 @@ jobs:
361361
- name: Checkout code
362362
uses: actions/checkout@v4
363363

364+
- name: Log in to Container Registry
365+
uses: docker/login-action@v3
366+
with:
367+
registry: ${{ env.REGISTRY }}
368+
username: ${{ github.actor }}
369+
password: ${{ secrets.GITHUB_TOKEN }}
370+
364371
- name: Run Trivy vulnerability scanner
365372
uses: aquasecurity/trivy-action@master
366373
with:

0 commit comments

Comments
 (0)