Skip to content

Commit

Permalink
Add prow docker build job for focom operator image
Browse files Browse the repository at this point in the history
  • Loading branch information
efiacor committed Feb 17, 2025
1 parent 2e13897 commit 64c370d
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,47 @@ postsubmits:
items:
- key: .dockerconfigjson
path: config.json


- name: build-push-nephio-focom-operator-dev-image
cluster: default
always_run: true
branches:
- "main"
annotations:
description: Build and Push Nephio Focom Operator Dev Image to DockerHub
decorate: true
decoration_config:
censor_secrets: true
max_concurrency: 1
extra_refs:
- org: nephio-project
repo: nephio
base_ref: main
path_alias: "nephio_build"
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:debug
command:
- "/bin/sh"
- "-c"
- |
executor --context=/home/prow/go/src/nephio_build/ --dockerfile=operators/focom-operator/Dockerfile --destination=nephio/focom-operator:${BUILD_ID} --destination=nephio/focom-operator:latest
volumeMounts:
- name: kaniko-secret
mountPath: /kaniko/.docker/
resources:
requests:
cpu: 1
memory: 1Gi
volumes:
- name: kaniko-secret
secret:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json

- name: build-push-nephio-krm-func-config-inject-dev-image
cluster: default
always_run: true
Expand Down

0 comments on commit 64c370d

Please sign in to comment.