From 8d0b13258a5f3600fc3cca436d8ce9b5398e3482 Mon Sep 17 00:00:00 2001 From: Jayesh Srivastava Date: Fri, 6 Dec 2024 20:41:36 +0530 Subject: [PATCH] Update registry in spectro-release.yaml --- .github/workflows/spectro-release.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/spectro-release.yaml b/.github/workflows/spectro-release.yaml index 4830447fa47..32bac624ded 100644 --- a/.github/workflows/spectro-release.yaml +++ b/.github/workflows/spectro-release.yaml @@ -21,8 +21,8 @@ jobs: # Ensure that the credentials are provided as encrypted secrets env: SPECTRO_VERSION: ${{ github.event.inputs.release_version }} - LEGACY_REGISTRY: gcr.io/spectro-images-public/release/cluster-api-azure - FIPS_REGISTRY: gcr.io/spectro-images-public/release-fips/cluster-api-azure + LEGACY_REGISTRY: us-docker.pkg.dev/palette-images/palette/cluster-api-azure + FIPS_REGISTRY: us-docker.pkg.dev/palette-images-fips/palette/cluster-api-azure steps: - uses: mukunku/tag-exists-action@v1.2.0 @@ -37,8 +37,8 @@ jobs: - if: ${{ github.event.inputs.rel_type == 'rc' }} run: | - echo "LEGACY_REGISTRY=gcr.io/spectro-dev-public/release/cluster-api-azure" >> $GITHUB_ENV - echo "FIPS_REGISTRY=gcr.io/spectro-dev-public/release-fips/cluster-api-azure" >> $GITHUB_ENV + echo "LEGACY_REGISTRY=us-east1-docker.pkg.dev/spectro-images/dev/cluster-api-azure" >> $GITHUB_ENV + echo "FIPS_REGISTRY=us-east1-docker.pkg.dev/spectro-images/dev-fips/cluster-api-azure" >> $GITHUB_ENV - name: Install SSH key for remote docker build uses: shimataro/ssh-key-action@v2 @@ -58,6 +58,13 @@ jobs: registry: ${{ secrets.REGISTRY_URL }} username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} + - + name: Login to dev private registry + uses: docker/login-action@v1 + with: + registry: ${{ secrets.DEV_REGISTRY_URL }} + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} - name: Build Image env: