Skip to content

Commit

Permalink
update cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
zubenkoivan committed Nov 20, 2024
1 parent 3d85860 commit 581e2b0
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,21 @@ jobs:
release:
name: Create release
needs: test
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
uses: neuro-inc/reuse/.github/workflows/release-service.yaml@v24.9.0
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
uses: neuro-inc/reuse/.github/workflows/release-service.yaml@v24.10.0
with:
image: platformregistryapi
helm_charts: platform-registry

deploy_dev:
name: Deploy on dev
name: Deploy
needs: release
uses: neuro-inc/reuse/.github/workflows/[email protected]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: neuro-inc/reuse/.github/workflows/[email protected]
secrets:
tf_api_token: ${{ secrets.TF_API_TOKEN }}
with:
helm_charts: platform-registry
version: ${{ needs.release.outputs.version }}
environment: dev
dev_workspace: ${{ vars.DEV_TFC_WORKSPACE_JSON }}
variables: |
platform_registry_version=${{ needs.release.outputs.version }}

0 comments on commit 581e2b0

Please sign in to comment.