You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
589 B
28 lines
589 B
kind: BuildConfig
|
|
apiVersion: build.openshift.io/v1
|
|
metadata:
|
|
name: vulnerable-log4j
|
|
namespace: vulnerable-cicd
|
|
spec:
|
|
output:
|
|
to:
|
|
kind: ImageStreamTag
|
|
name: 'vulnerable-log4j:latest'
|
|
strategy:
|
|
type: Source
|
|
sourceStrategy:
|
|
from:
|
|
kind: ImageStreamTag
|
|
namespace: openshift
|
|
name: 'java:11'
|
|
source:
|
|
type: Git
|
|
git:
|
|
uri: 'https://github.com/nmasse-itix/demo-rhacs.git'
|
|
ref: main
|
|
contextDir: log4shell/src
|
|
triggers:
|
|
- type: ImageChange
|
|
imageChange: {}
|
|
- type: ConfigChange
|
|
runPolicy: Serial
|
|
|