File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -145,18 +145,21 @@ you will have to run the following in order to "promote" the tester and
145
145
deployer :
146
146
147
147
` ` ` sh
148
- BUILD_TAG=build-3dc9ba45-d23c-441c-8809-ac693054716e
149
- RELEASE_TAG=1.1.0-gcm.2
150
- while read img; do
151
- docker pull $img:$BUILD_TAG
152
- docker tag $img:{$BUILD_TAG,$RELEASE_TAG}
153
- docker push $img:$RELEASE_TAG
154
- done <<EOF
155
- gcr.io/jetstack-public/jetstack-secure-for-cert-manager/deployer
156
- gcr.io/jetstack-public/jetstack-secure-for-cert-manager/smoke-test
157
- EOF
148
+ retag() {
149
+ docker pull $1:$2
150
+ docker tag $1:{$2,$3}
151
+ docker push $1:$3
152
+ }
153
+
154
+ retag gcr.io/jetstack-public/jetstack-secure-for-cert-manager/deployer build-3dc9ba45-d23c-441c-8809-ac693054716e 1.1
155
+ retag gcr.io/jetstack-public/jetstack-secure-for-cert-manager/deployer build-3dc9ba45-d23c-441c-8809-ac693054716e 1.1.0-gcm.2
156
+ retag gcr.io/jetstack-public/jetstack-secure-for-cert-manager/smoke-test build-3dc9ba45-d23c-441c-8809-ac693054716e 1.1.0-gcm.2
158
157
` ` `
159
158
159
+ > Note: pushing the `deployer:1.1.0-gcm.2` image is not mandatory; only the
160
+ > `1.1` tag is required by the Marketplace UI. But we still push
161
+ > `1.1.0-gcm.2` for debugging purposes.
162
+
160
163
# # Testing the application without having access to the Billing API
161
164
162
165
Jetstack members do not have access to the Billing API. In order to test
You can’t perform that action at this time.
0 commit comments