Skip to content

Commit 455f0fe

Browse files
committed
fix(docker/k8s): Fix image naming
We had previously hack with hardcoding ghcr.io. Now we make it more flexible, so people can set their own image url, and our staging instance automatically add staging- prefix in appropriate place. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
1 parent 535d19f commit 455f0fe

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

config/runtime/base/kubernetes.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232

3333
containers:
3434
- name: kernelci
35-
image: ghcr.io/{{ runtime_image }}
35+
image: {{ runtime_image }}
3636
imagePullPolicy: Always
3737

3838
volumeMounts:

kernelci/runtime/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def get_params(self, job, api_config=None):
147147
if not device_dtb:
148148
print(f"dtb file {job.platform_config.dtb} not found!")
149149
return None
150+
150151
params = {
151152
'api_config': api_config or {},
152153
'storage_config': job.storage_config or {},

0 commit comments

Comments
 (0)