mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
ci: Fix tag detection for 'latest'
This commit is contained in:
parent
e786576b95
commit
a9cd6b3ca3
2 changed files with 2 additions and 2 deletions
2
.github/workflows/image.yml
vendored
2
.github/workflows/image.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
||||||
# If the VERSION looks like a version number, assume that
|
# If the VERSION looks like a version number, assume that
|
||||||
# this is the most recent version of the image and also
|
# this is the most recent version of the image and also
|
||||||
# tag it 'latest'.
|
# tag it 'latest'.
|
||||||
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
|
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
|
||||||
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
|
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
- name: llama
|
- name: llama
|
||||||
args:
|
args:
|
||||||
- api
|
- api
|
||||||
image: quay.io/go-skynet/llama-cli:v0.3
|
image: quay.io/go-skynet/llama-cli:latest
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue