Skip to content

Commit

Permalink
Merge pull request #1535 from qu1queee/qu1queee/issue_1502
Browse files Browse the repository at this point in the history
Move README to v1beta1
  • Loading branch information
openshift-merge-bot[bot] authored Mar 13, 2024
2 parents 7edcc08 + c13d5dd commit ea6f69a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,22 @@ Shipwright supports any tool that can build container images in Kubernetes clust
```bash
REGISTRY_ORG=<your_registry_org>
cat <<EOF | kubectl apply -f -
apiVersion: shipwright.io/v1alpha1
apiVersion: shipwright.io/v1beta1
kind: Build
metadata:
name: buildpack-nodejs-build
spec:
source:
url: https://github.com/shipwright-io/sample-nodejs
type: Git
git:
url: https://github.com/shipwright-io/sample-nodejs
contextDir: source-build
strategy:
name: buildpacks-v3
kind: ClusterBuildStrategy
output:
image: docker.io/${REGISTRY_ORG}/sample-nodejs:latest
credentials:
name: push-secret
pushSecret: push-secret
EOF
```
Expand All @@ -119,12 +120,12 @@ Shipwright supports any tool that can build container images in Kubernetes clust
```bash
cat <<EOF | kubectl create -f -
apiVersion: shipwright.io/v1alpha1
apiVersion: shipwright.io/v1beta1
kind: BuildRun
metadata:
generateName: buildpack-nodejs-buildrun-
spec:
buildRef:
build:
name: buildpack-nodejs-build
EOF
```
Expand Down

0 comments on commit ea6f69a

Please sign in to comment.