File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 7272 - 5000:5000
7373 name : CRD Java Models Code Generation
7474 steps :
75+ - uses : actions/checkout@v2
7576 - name : Publish to Registry
7677 uses : elgohr/Publish-Docker-Github-Action@master
7778 with :
Original file line number Diff line number Diff line change 1616# This script generates the model classes from a released version of cert-manager CRDs
1717# under src/main/java/io/cert/manager/models.
1818
19- IMAGE_NAME=${IMAGE_NAME: docker.pkg.github.com/ kubernetes-client/ java/ crd-model-gen}
20- IMAGE_TAG=${IMAGE_TAG: v1.0.2}
19+ DEFAULT_IMAGE_NAME=docker.pkg.github.com/kubernetes-client/java/crd-model-gen
20+ DEFAULT_IMAGE_TAG=v1.0.2
21+ IMAGE_NAME=${IMAGE_NAME:= $DEFAULT_IMAGE_NAME }
22+ IMAGE_TAG=${IMAGE_TAG:= $DEFAULT_IMAGE_TAG }
2123
2224# a crdgen container is run in a way that:
2325# 1. it has access to the docker daemon on the host so that it is able to create sibling container on the host
Original file line number Diff line number Diff line change 1616# This script generates the model classes from a released version of cert-manager CRDs
1717# under src/main/java/io/cert/manager/models.
1818
19- IMAGE_NAME=${IMAGE_NAME: docker.pkg.github.com/ kubernetes-client/ java/ crd-model-gen}
20- IMAGE_TAG=${IMAGE_TAG: v1.0.2}
19+ DEFAULT_IMAGE_NAME=docker.pkg.github.com/kubernetes-client/java/crd-model-gen
20+ DEFAULT_IMAGE_TAG=v1.0.2
21+ IMAGE_NAME=${IMAGE_NAME:= $DEFAULT_IMAGE_NAME }
22+ IMAGE_TAG=${IMAGE_TAG:= $DEFAULT_IMAGE_TAG }
2123
2224# a crdgen container is run in a way that:
2325# 1. it has access to the docker daemon on the host so that it is able to create sibling container on the host
You can’t perform that action at this time.
0 commit comments