From 25d53c0d6fdf7b7273cded017a4aafe467068644 Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Mon, 23 Dec 2024 14:08:02 +0000 Subject: [PATCH] Note - this is broken until eio 2933 is resolved --- .github/workflows/test.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a0f3eeb6238..2d734296f6c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -110,6 +110,20 @@ jobs: with: name: ${{ env.E2E_BUILD_DIST_EMBER_NAME }} path: ${{ env.E2E_BUILD_DIST_EMBER_DIR }} + + - name: "Read Vault Secrets" + uses: rancher-eio/read-vault-secrets@main + with: + secrets: | + secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials username | READ_STAGE_REGISTRY_USERNAME ; + secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials password | READ_STAGE_REGISTRY_PASSWORD ; + + - name: Log into Staging registry + uses: docker/login-action@v3 + with: + username: ${{ env.READ_STAGE_REGISTRY_USERNAME }} + password: ${{ env.READ_STAGE_REGISTRY_PASSWORD }} + registry: stgregistry.suse.com - name: Run Rancher run: yarn e2e:docker