From b5e7dc123a272080f4af4554054797296271e902 Mon Sep 17 00:00:00 2001 From: Hayden B Date: Tue, 6 Aug 2024 14:39:53 -0700 Subject: [PATCH] Add login for GHCR (#3820) Signed-off-by: Hayden B --- .github/workflows/build.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 99ffb899fe4..8604dac5cdc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -64,6 +64,13 @@ jobs: - name: creds run: gcloud auth configure-docker --quiet + - name: Login to GitHub Container Registry + uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: containers-cosign run: make sign-ci-containers env: