Deploy once with skaffold
steps:
- # Get cluster credentials
-- name: gcr.io/k8s-skaffold/skaffold:v0.16.0
- args:
- - 'gcloud'
- - 'container'
- - 'clusters'
- - 'get-credentials'
- - 'docs'
- - '--zone'
- - 'us-west2-a'
- - '--project'
- - 'k8s-skaffold'
# Build and push the image with the :commit_sha tag
- name: gcr.io/k8s-skaffold/skaffold:v0.16.0
args:
@@ -20,12 +8,3 @@ steps:
- 'run'
- '--tag'
- '${COMMIT_SHA}'
- # Build and deploy the image with the :latest tag
-- name: gcr.io/k8s-skaffold/skaffold:v0.16.0
- args:
- - 'skaffold'
- - '-f'
- - 'deploy/webhook/skaffold.yaml'
- - 'run'
- - '--tag'
- - 'latest'
