Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/BuildApp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,16 @@ jobs:
shell: bash
run: aws eks update-kubeconfig --region us-east-1 --name development

- name: Cat kubeconfig
run: cat ${HOME}/.kube/config
- uses: actions-hub/kubectl@master
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: get pods

- uses: actions-hub/kubectl@master
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: set image deployment/tech-challenge-deployment tech-challenge-container=ghcr.io/${{ github.repository }}:${{ steps.short-sha.outputs.sha }}
Loading