forked from kube-vip/kube-vip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCP-3865: Update golang builder image and registry (#21)
* PCP-3865: Update golang builder image * Update registry in spectro-release.yaml * Update registry in spectro-release.yaml
- Loading branch information
1 parent
9a8bf3e
commit 47a5e02
Showing
5 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/kube-vip | ||
FIPS_REGISTRY: gcr.io/spectro-images-public/release-fips/kube-vip | ||
LEGACY_REGISTRY: us-docker.pkg.dev/palette-images/palette/kube-vip | ||
FIPS_REGISTRY: us-docker.pkg.dev/palette-images-fips/palette/kube-vip | ||
steps: | ||
- | ||
uses: mukunku/[email protected] | ||
|
@@ -37,8 +37,8 @@ jobs: | |
- | ||
if: ${{ github.event.inputs.rel_type == 'rc' }} | ||
run: | | ||
echo "LEGACY_REGISTRY=gcr.io/spectro-dev-public/release/kube-vip" >> $GITHUB_ENV | ||
echo "FIPS_REGISTRY=gcr.io/spectro-dev-public/release-fips/kube-vip" >> $GITHUB_ENV | ||
echo "LEGACY_REGISTRY=us-east1-docker.pkg.dev/spectro-images/dev/kube-vip" >> $GITHUB_ENV | ||
echo "FIPS_REGISTRY=us-east1-docker.pkg.dev/spectro-images/dev-fips/kube-vip" >> $GITHUB_ENV | ||
- | ||
uses: actions/checkout@v3 | ||
- | ||
|
@@ -51,6 +51,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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters