Skip to content

Commit

Permalink
Update .prow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslawc authored Jun 28, 2023
1 parent 1a3d84d commit 9501de4
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,38 @@ postsubmits:
items:
- key: .dockerconfigjson
path: config.json
- name: build-push-image-nephio-test-prow-project
cluster: default
always_run: true
branches:
- "^v.*$"
annotations:
description: Build and Push Image to DockerHub when release tag is created
decorate: true
decoration_config:
censor_secrets: true
max_concurrency: 0
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:debug
command:
- "/bin/sh"
- "-c"
- |
executor --context=${PWD} \
--dockerfile=Dockerfile --destination=nephio/nmath:${PULL_BASE_REF}
volumeMounts:
- name: kaniko-secret
mountPath: /kaniko/.docker/
resources:
requests:
cpu: 2
memory: 1Gi
volumes:
- name: kaniko-secret
secret:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json

0 comments on commit 9501de4

Please sign in to comment.