Skip to content

Commit 4fbeed6

Browse files
committed
Log into container reg to upload images
1 parent 7d185bf commit 4fbeed6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,13 @@ jobs:
199199
sarif_file: ${{ steps.scan.outputs.sarif }}
200200
category: build-${{ inputs.image }}
201201

202+
- name: Login to GitHub Container Registry
203+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
204+
with:
205+
registry: ghcr.io
206+
username: ${{ github.repository_owner }}
207+
password: ${{ secrets.GITHUB_TOKEN }}
208+
202209
- name: Export and upload images
203210
run: |
204211
# Create a local reference for the platform

0 commit comments

Comments
 (0)