Skip to content

Commit

Permalink
update odh-model-controller image tag
Browse files Browse the repository at this point in the history
update formatting and use the latest version for checkout module

Signed-off-by: jooho lee <[email protected]>
  • Loading branch information
Jooho committed Jul 12, 2024
1 parent 4c61065 commit 4dc9e2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/verify-odh-model-controller-img-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout PR branch
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Extract image tag from PR branch
id: extract-pr
Expand All @@ -27,17 +27,17 @@ jobs:
EXPECTED_TAG="fast"
elif [[ "${{ github.base_ref }}" =~ ^release-(.*) ]]; then
VERSION=${BASH_REMATCH[1]}
EXPECTED_TAG="v$VERSION"
EXPECTED_TAG="v$VERSION"
else
echo "Unknown destination branch: ${{ github.base_ref }}"
exit 1
fi
# Check if PR_IMAGE_TAG matches EXPECTED_TAG followed by a dot and digits
PR_IMAGE_TAG=${{ env.PR_IMAGE_TAG }}
PR_IMAGE_TAG=${{ env.PR_IMAGE_TAG }}
if [[ ! "$PR_IMAGE_TAG" =~ ^"$EXPECTED_TAG"(\.[0-9]+)?$ ]]; then
echo "Image tag mismatch! Expected '$EXPECTED_TAG' but found '$PR_IMAGE_TAG'"
exit 1
fi
echo "Image tag('$PR_IMAGE_TAG') is correct."
echo "Image tag ('$PR_IMAGE_TAG') is correct."
2 changes: 1 addition & 1 deletion config/base/params.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
odh-model-controller=quay.io/opendatahub/odh-model-controller:v0.12.0-latest
odh-model-controller=quay.io/opendatahub/odh-model-controller:v0.12.0
caikit-tgis-image=quay.io/opendatahub/caikit-tgis-serving:stable-01d6d99
caikit-standalone-image=quay.io/opendatahub/caikit-nlp:stable-994ec60
tgis-image=quay.io/opendatahub/text-generation-inference:stable-ed9d828
Expand Down

0 comments on commit 4dc9e2a

Please sign in to comment.