Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Dec 23, 2020
1 parent 79f3b38 commit 5e36f37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Deploy to cluster
uses: myrotvorets/[email protected].2
uses: myrotvorets/[email protected].3
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
with:
args: set image --record deployment/application container=${{ github.repository }}:${{ github.sha }}
- name: Verify deployment
uses: myrotvorets/[email protected].2
uses: myrotvorets/[email protected].3
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
with:
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/kubeconfig
echo "$KUBE_CONFIG_DATA" | base64 -d > /tmp/kubeconfig
export KUBECONFIG=/tmp/kubeconfig

exec /usr/bin/kubectl $*

0 comments on commit 5e36f37

Please sign in to comment.