Skip to content

Commit

Permalink
cd-deployment on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
psuzn committed Oct 9, 2023
1 parent 1e8dfa9 commit 5593546
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- uses: extractions/setup-just@v1

- name: Build and publish image with jib
if: ${{ github.ref == 'refs/heads/main' }}
run: just build-push-image
env:
DOCKER_USER: ${{ github.actor }}
Expand All @@ -46,14 +45,12 @@ jobs:
name: Setup kubectl client

- name: create KUBECONFIG
if: ${{ github.ref == 'refs/heads/main' }}
run: |
echo ${{ secrets.KUBE_CONFIG }} | base64 --decode > kube-config;
chmod 600 kube-config;
echo "KUBECONFIG=$(pwd)/kube-config" >> "$GITHUB_ENV"
- name: Deploy on k8
if: ${{ github.ref == 'refs/heads/main' }}
run: |
kubectl config current-context;
just helm-upgrade;
Expand Down

0 comments on commit 5593546

Please sign in to comment.