Skip to content

Commit

Permalink
Test: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCloudBricklayer committed Apr 19, 2024
1 parent 03b847a commit 12af88d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,23 @@ jobs:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up kubeconfig
uses: kitek/[email protected]
with:
encoded-value: ${{ secrets.KUBECONFIG_BASE64 }}
destination-file: config
-
name: Set up Kubectl
uses: tale/kubectl-action@v1
name: Install kubectl
uses: azure/setup-kubectl@v4
-
uses: azure/k8s-set-context@v4
with:
base64-kube-config: ${{ secrets.KUBE_CONFIG }}
method: kubeconfig
kubeconfig: ${{ runner.workspace }}/config
-
name: Deploy to Kubernetes
run: |
cat ${{ runner.workspace }}/.kube/config
kubectl apply -f ${{ runner.workspace }}/k8s/. --namespace ${{ secrets.NAMESPACE }} \
--validate=false

0 comments on commit 12af88d

Please sign in to comment.