Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created September 22, 2017 11:05
Show Gist options
  • Save iocanel/244b8c9016fe8ffa0dc2c4a4b2583f9b to your computer and use it in GitHub Desktop.
Save iocanel/244b8c9016fe8ffa0dc2c4a4b2583f9b to your computer and use it in GitHub Desktop.
A pass through build config, that is used to public images to dockerhub.
apiVersion: v1
kind: BuildConfig
metadata:
labels:
app: experiment
name: experiment
spec:
source:
type: Dockerfile
dockerfile: "FROM thisisgettingreplaced"
output:
to:
kind: DockerImage
name: docker.io/syndesis/experiment:latest
pushSecret:
name: dockerhub
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: syndesis-jenkins:latest
type: Docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment