From e9a7ae6f6ecc5c943ebb8a610bb1ad0a00f79a3a Mon Sep 17 00:00:00 2001 From: sk593 Date: Wed, 11 Oct 2023 11:57:02 -0700 Subject: [PATCH] add GH login --- .github/workflows/test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b8c6b5e2..b845eb92 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,6 +25,7 @@ on: env: RAD_CLI_URL: https://get.radapp.dev/tools/rad/install.sh RUN_IDENTIFIER: samplestest-${{ github.run_id }}-${{ github.run_attempt }} + GHCR_ACTOR: rad-ci-bot jobs: test: name: Sample tests @@ -179,6 +180,12 @@ jobs: run: | helm repo add dapr https://dapr.github.io/helm-charts/ helm install dapr dapr/dapr --version=1.6 --namespace dapr-system --create-namespace --wait + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ env.GHCR_ACTOR }} + password: ${{ secrets.GH_RAD_CI_BOT_PAT }} - name: Download rad CLI if: steps.gen-id.outputs.RUN_TEST == 'true' run: |