From a81d90ad40f751be7df198c6e126e4fd92b765c5 Mon Sep 17 00:00:00 2001 From: Sid Shukla Date: Tue, 3 Dec 2024 16:41:47 +0100 Subject: [PATCH] fix(build): add local image registry credentials to e2e step (#490) E2E needs a local image registry to push the images for upgrade and self-hosted cluster testing. --- .github/workflows/e2e.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 750603aabf..4e4bcdfd67 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -72,6 +72,13 @@ jobs: exit 1 fi + - name: Login to Internal Container Registry + uses: docker/login-action@v3 + with: + registry: ${{ secrets.LOCAL_IMAGE_REGISTRY }} + username: ${{ secrets.LOCAL_IMAGE_REGISTRY_USERNAME }} + password: ${{ secrets.LOCAL_IMAGE_REGISTRY_TOKEN }} + - name: Test build run: devbox run -- make ${{ inputs.make-target }} LABEL_FILTERS='${{ inputs.e2e-labels }}' env: