Skip to content

Commit

Permalink
feat(staging-build.yaml): update GitHub Actions workflow to use compo…
Browse files Browse the repository at this point in the history
…site-deploy

The GitHub Actions workflow in the staging environment is updated to use
a more comprehensive deployment process. This change replaces the
previous Docker build and push workflow with a composite deployment
workflow that includes additional deployment steps and configurations.
This allows for a more controlled and detailed deployment process,
including specifying the Dockerfile, Docker image, and Kubernetes
cluster details directly within the workflow.
  • Loading branch information
cybersiddhu committed Aug 6, 2024
1 parent 6750b06 commit 1573ed2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/staging-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ on:
branches:
- staging
jobs:
call-docker-build:
uses: dictyBase/workflows/.github/workflows/docker-build-push.yaml@develop
call-build-deploy:
uses: dictyBase/workflows/.github/workflows/composite-deploy.yaml@main
secrets: inherit
with:
app: annotation
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
dockerfile: build/package/Dockerfile
docker_image: modware-annotation
cluster: ${{ vars.DEV_STAGING_CLUSTER }}
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}
stack: staging
environment: staging

0 comments on commit 1573ed2

Please sign in to comment.