Release latest version of docs controller image
PR pinned the deployment image to gcr.io/k8s-skaffold/docs-controller:latest, but that image hasn't been updated in a long time. This change will release the latest image each time a change is made, which should fix one bug in the webhook.
@@ -20,3 +20,15 @@ steps:
- 'run'
- '--tag'
- '${COMMIT_SHA}'
+# Build and push latest version of the docs-controller image
+- name: gcr.io/cloud-builders/docker
+ args:
+ - 'build'
+ - '-t'
+ - 'gcr.io/k8s-skaffold/docs-controller:latest'
+ - '-f'
+ - 'deploy/webhook/Dockerfile'
+ - '.'
+images: [
+ 'gcr.io/k8s-skaffold/docs-controller:latest'
+]
