Skip to content

Commit

Permalink
Update tag.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvarko authored Oct 9, 2023
1 parent a8d0924 commit 391e316
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,19 @@ jobs:
run: |
. $(werf ci-env github --as-file)
werf export web --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME
prod-deploy:
name: Deploy on prod
needs: converge
runs-on: ubuntu-latest
steps:
- name: Run echo
run: |
echo "Tag was created, deploying on prod"
echo tag = $GITHUB_REF_NAME
- name: ConfigCreate
run: |
mkdir ~/.kube/
echo "${{ secrets.KUBECONFIG }}" > config
mv config ~/.kube/
ls ~/.kube/
kubectl set image deployment/solarity-stage-webclient webclient=ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME -n stage

0 comments on commit 391e316

Please sign in to comment.