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 21, 2024
1 parent 9fdaf24 commit 3733f1b
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,28 @@ jobs:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up kubeconfig
uses: kitek/decode-base64-into-file-action@1.0
-
name: Set uo kubeconfig
uses: cryptoexpert2000/base64Secret-toFile-action@v3
with:
encoded-value: ${{ secrets.KUBECONFIG_BASE64 }}
destination-file: config
secret: ${{ secrets.KUBECONFIG_BASE64 }}
filename: .kubeconfig
destination-path: ${{ runner.workspace }}/.config
env:
KUBECONFIG: ${{ runner.workspace }}/config
KUBECONFIG: ${{ runner.workspace }}/.config/kubeconfig
-
name: Install kubectl
uses: azure/setup-kubectl@v4
-
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ runner.workspace }}/config
kubeconfig: ${{ runner.workspace }}/.config/kubeconfig
-
name: verify kubectl
run: |
cat ${{ runner.workspace }}/.config/kubeconfig
kubectl version --client
-
name: Deploy to Kubernetes
run: |
Expand Down

0 comments on commit 3733f1b

Please sign in to comment.