-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dockerhub container registry use (#41)
... replaces quay.io use in CI/CD/container-registry-use which was available originally through quay.io Signed-off-by: Matteo Mortari <[email protected]>
- Loading branch information
Showing
5 changed files
with
46 additions
and
36 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
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 |
---|---|---|
|
@@ -11,7 +11,9 @@ on: | |
- 'docs/**' | ||
- 'clients/python/**' | ||
env: | ||
QUAY_IMG_REPO: model-registry | ||
IMG_ORG: kubeflow | ||
IMG_REPO: model-registry | ||
IMG: ${{ env.IMG_ORG }}/${{ env.IMG_REPO }} | ||
PUSH_IMAGE: false | ||
BRANCH: ${{ github.base_ref }} | ||
jobs: | ||
|
@@ -35,17 +37,17 @@ jobs: | |
uses: helm/[email protected] | ||
- name: Load Local Registry Test Image | ||
env: | ||
IMG: "quay.io/opendatahub/model-registry:${{ steps.tags.outputs.tag }}" | ||
IMG: "${{ env.IMG }}:${{ steps.tags.outputs.tag }}" | ||
run: | | ||
kind load docker-image -n chart-testing ${IMG} | ||
- name: Create Test Registry | ||
env: | ||
IMG: "quay.io/opendatahub/model-registry:${{ steps.tags.outputs.tag }}" | ||
IMG: "${{ env.IMG }}:${{ steps.tags.outputs.tag }}" | ||
run: | | ||
echo "Deploying Model Registry using Manifests; branch ${BRANCH}" | ||
kubectl create namespace kubeflow | ||
cd manifests/kustomize/overlays/db | ||
kustomize edit set image quay.io/opendatahub/model-registry:latest $IMG | ||
kustomize edit set image kubeflow/model-registry:latest $IMG | ||
kubectl apply -k . | ||
- name: Wait for Test Registry Deployment | ||
run: | | ||
|
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