aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/workflow/build-step
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-02-24 14:30:04 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-02-26 15:09:27 +0000
commit68aa75abe16fb593ee02b5a37783371c3dfc24b2 (patch)
tree5e0880ae57b64a7ba472ca579f9f316ed264959c /syz-cluster/workflow/build-step
parentd34966d146f584d390b49f213d1fccd59548dc6d (diff)
syz-cluster: make image prefix and tag configurable
Accept IMAGE_PREFIX and IMAGE_TAG parameters that allow to reuse the Makefile and a lot of k8s configurations both for local and prod environments. Refactor Makefile: define build-* and push-* rules, use templates to avoid repetition.
Diffstat (limited to 'syz-cluster/workflow/build-step')
-rw-r--r--syz-cluster/workflow/build-step/workflow-template.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/workflow/build-step/workflow-template.yaml b/syz-cluster/workflow/build-step/workflow-template.yaml
index 0a3282ae8..9d3f3485c 100644
--- a/syz-cluster/workflow/build-step/workflow-template.yaml
+++ b/syz-cluster/workflow/build-step/workflow-template.yaml
@@ -52,7 +52,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
container:
- image: build-step-local
+ image: ${IMAGE_PREFIX}build-step:${IMAGE_TAG}
imagePullPolicy: IfNotPresent
command: ["/bin/build-step"]
args: [