Skip to content

Commit 8329a49

Browse files
author
Maurice Faber
committed
fix: core version not found in container
1 parent 3b7bc13 commit 8329a49

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LOG_LEVEL='--log-level warn'
1010

1111
# Common vars
1212
readonly otomi_settings="$ENV_DIR/env/settings.yaml"
13-
readonly otomi_core_version=$(cat package.json | jq -r '.version')
13+
readonly otomi_core_version=$(cat ${APP_HOME:-'.'}/package.json | jq -r '.version')
1414
readonly otomi_tools_image="otomi/core:v$otomi_core_version"
1515

1616
# Mutliple files vars

values/otomi-api/otomi-api.gotmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ resources:
2222
image:
2323
registry: eu.gcr.io
2424
repository: otomi-cloud/otomi-api
25-
tag: {{ $o | get "image.tag" "v0.4.49" }}
25+
tag: {{ $o | get "image.tag" "v0.4.65" }}
2626
pullPolicy: {{ $o | get "image.pullPolicy" "IfNotPresent" }}
2727

2828
secrets:

values/otomi-console/otomi-console.gotmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resources:
3939
image:
4040
registry: docker.io
4141
repository: otomi/console
42-
tag: {{ $o | get "image.tag" "v0.4.44" }}
42+
tag: {{ $o | get "image.tag" "v0.4.50" }}
4343
pullPolicy: {{ $o | get "image.pullPolicy" "IfNotPresent" }}
4444

4545
env:

0 commit comments

Comments
 (0)