-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.prow.yaml
41 lines (40 loc) · 1.13 KB
/
.prow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
postsubmits:
- name: build-push-porch-gcp-controllers-dev-image
cluster: default
always_run: true
branches:
- "main"
annotations:
description: Build and Push Dev Image to DockerHub
decorate: true
decoration_config:
censor_secrets: true
max_concurrency: 1
extra_refs:
- org: nephio-project
repo: porch-fleets
base_ref: main
path_alias: "porch_build"
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:debug
command:
- "/bin/sh"
- "-c"
- |
executor --context=/home/prow/go/src/porch_build/ --dockerfile=controllers/Dockerfile --destination=nephio/porch-gcp-controllers:${PULL_BASE_REF} --destination=nephio/porch-gcp-controllers: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