This commit is contained in:
@@ -37,12 +37,6 @@ jobs:
|
||||
${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:${{ github.sha }}
|
||||
${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:latest
|
||||
|
||||
# - name: Deploy to cluster
|
||||
# uses: actions-hub/kubectl@master
|
||||
# env:
|
||||
# KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
# with:
|
||||
# args: get pods
|
||||
- name: Set up kubectl
|
||||
uses: azure/setup-kubectl@v3
|
||||
|
||||
@@ -51,12 +45,5 @@ jobs:
|
||||
KUBECONFIG: /tmp/kubeconfig.yaml
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Shell: $SHELL"
|
||||
echo "Current env:"
|
||||
env
|
||||
|
||||
mkdir -p /tmp
|
||||
echo "${{ secrets.KUBE_CONFIG }}" > $KUBECONFIG
|
||||
ls -l $KUBECONFIG
|
||||
kubectl version --client
|
||||
kubectl apply -f manifests/
|
||||
kubectl apply -f manifests/
|
||||
|
||||
Reference in New Issue
Block a user