Skip to content

Commit

Permalink
fix: Moved to tale kubectl implementation
Browse files Browse the repository at this point in the history
Relates to #4
  • Loading branch information
The0mikkel committed Aug 17, 2023
1 parent fa98236 commit 551db6c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: deploy to cluster
uses: actions-hub/kubectl@master
uses: tale/kubectl-action@v1
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
base64-kube-config: ${{ secrets.KUBECONFIG }}
with:
args: apply -f ./k8s/${{inputs.workspace}}
- name: deploy to cluster
uses: actions-hub/kubectl@master
uses: tale/kubectl-action@v1
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
base64-kube-config: ${{ secrets.KUBECONFIG }}
with:
args: set image deployment/${{inputs.workspace}} ${{inputs.workspace}}=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{inputs.workspace}}-${{ inputs.version }}
- name: verify deployment
uses: actions-hub/kubectl@master
uses: tale/kubectl-action@v1
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
base64-kube-config: ${{ secrets.KUBECONFIG }}
with:
args: rollout status deployment/${{inputs.workspace}}

0 comments on commit 551db6c

Please sign in to comment.