Skip to content

Commit

Permalink
misc: adjust release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankGTY committed Sep 29, 2024
1 parent a7600af commit 451e186
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on:
push:
branches:
- main
- "release/*"
- "release-*"
paths:
- '**.py'
- '**.yaml'

jobs:
build:
Expand Down Expand Up @@ -38,7 +41,6 @@ jobs:

- name: Run buildx
run: |
tag=latest
if [[ "${{ steps.extract_branch.outputs.branch }}" == "main" ]];then
tag=latest
elif [[ "${{ steps.extract_tag.outputs.version }}" == v* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion deploy/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: ai-education-studio-admin
containers:
- name: aes-ai-tutor-container
image: registry.cn-shanghai.aliyuncs.com/openhydra/aes-ai-tutor:latest
image: registry.cn-shanghai.aliyuncs.com/openhydra/aes-ai-tutor:release-2.0
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c"]
args: ["python cli.py init && python cli.py start --api"]
Expand Down

0 comments on commit 451e186

Please sign in to comment.