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 72
72
- 5000:5000
73
73
name : CRD Java Models Code Generation
74
74
steps :
75
+ - uses : actions/checkout@v2
75
76
- name : Publish to Registry
76
77
uses : elgohr/Publish-Docker-Github-Action@master
77
78
with :
Original file line number Diff line number Diff line change 16
16
# This script generates the model classes from a released version of cert-manager CRDs
17
17
# under src/main/java/io/cert/manager/models.
18
18
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 }
21
23
22
24
# a crdgen container is run in a way that:
23
25
# 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 16
16
# This script generates the model classes from a released version of cert-manager CRDs
17
17
# under src/main/java/io/cert/manager/models.
18
18
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 }
21
23
22
24
# a crdgen container is run in a way that:
23
25
# 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