+ ADD kubernete config connect
All checks were successful
/ build-and-deploy (push) Successful in 54s
All checks were successful
/ build-and-deploy (push) Successful in 54s
This commit is contained in:
@@ -28,15 +28,13 @@ jobs:
|
||||
uses: azure/k8s-set-context@v1
|
||||
with:
|
||||
kubeconfig: ${{ secrets.KUBE_CONFIG }}
|
||||
- name: Check kubernetes connection
|
||||
run: |
|
||||
kubectl get pod
|
||||
- name: Update kpack image
|
||||
env:
|
||||
SHA: ${{ github.sha }}
|
||||
SHORT_SHA: ${{ steps.short-sha.outputs.sha }}
|
||||
run: |
|
||||
kp image patch tutorial-image --replace-additional-tag "ghcr.io/hvg-dev/php-test:sha-${SHORT_SHA}" --git-revision "${SHA}" -n test-builder
|
||||
kp image status tutorial-image -n test-builder
|
||||
- name: Wait for build to complete
|
||||
run: |
|
||||
BUILD=$(kubectl -n test-builder get image tutorial-image -o jsonpath='{.status.buildCounter}')
|
||||
|
||||
Reference in New Issue
Block a user