Skip to content

Instantly share code, notes, and snippets.

@jmesnil
Last active February 9, 2021 10:33
Show Gist options
  • Save jmesnil/3b0c58da1c86b39f23ed11e76fc834cb to your computer and use it in GitHub Desktop.
Save jmesnil/3b0c58da1c86b39f23ed11e76fc834cb to your computer and use it in GitHub Desktop.
kind: BuildConfig
apiVersion: build.openshift.io/v1
metadata:
name: microprofile-config-app
spec:
output:
to:
kind: ImageStreamTag
name: 'microprofile-config-app:latest'
strategy:
type: Source
sourceStrategy:
from:
kind: ImageStreamTag
namespace: openshift
name: 'java:11'
env:
- name: ARTIFACT_DIR
value: microprofile-config
- name: MAVEN_ARGS_APPEND
value: '-am -pl microprofile-config -Pbootable-jar'
source:
type: Git
git:
uri: 'https://github.com/wildfly/quickstart.git'
ref: 22.0.0.Final
triggers:
- type: ConfigChange
runPolicy: Serial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment