File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 52
52
location : ${{ env.GKE_ZONE }}
53
53
credentials : ${{ secrets.GKE_SA_KEY }}
54
54
55
- # Set up kustomize
56
- - name : Set up Kustomize
57
- run : |-
58
- curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
59
- chmod u+x ./kustomize
60
-
61
55
# Deploy the Docker image to the GKE cluster
62
56
- name : Deploy
63
57
run : |-
64
- ./kustomize edit set namespace staging
65
- kubectl config set-context --current --namespace=staging
66
- ./kustomize edit set image web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA
67
- ./kustomize build . | kubectl apply -f -
68
- kubectl rollout status deployment/$DEPLOYMENT_NAME
58
+ kubectl set image deployment/$DEPLOYMENT_NAME web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA --namespace=staging
69
59
kubectl get services -o wide
70
60
You can’t perform that action at this time.
0 commit comments