From f58247668ba9ed9213a86e04a4713e3f2920a498 Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Thu, 3 Oct 2024 13:51:36 -0500 Subject: [PATCH] chore(ci): update CI workflow to use build-publish-image.yaml for Docker builds and remove deprecated deployment step The CI workflow is modified to utilize the build-publish-image.yaml for building Docker images, enhancing clarity and maintainability. The previous deployment step is commented out, indicating a potential future change or removal, streamlining the workflow for current needs. --- .github/workflows/ci.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab107d4..7664866 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,15 +33,24 @@ jobs: with: file: ./profile.cov token: ${{ secrets.CODECOV }} - call-build-deploy: - needs: test - uses: dictyBase/workflows/.github/workflows/composite-deploy.yaml@develop + call-docker-build: + uses: dictyBase/workflows/.github/workflows/build-publish-image.yaml@develop secrets: inherit with: - app: content repository: ${{ github.repository }} ref: ${{ github.ref_name }} + image: modware-content dockerfile: build/package/Dockerfile - docker_image: modware-content - cluster: ${{ vars.DEV_STAGING_CLUSTER }} - cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }} + namespace: dictybase + # call-build-deploy: + # needs: test + # uses: dictyBase/workflows/.github/workflows/composite-deploy.yaml@develop + # secrets: inherit + # with: + # app: content + # repository: ${{ github.repository }} + # ref: ${{ github.ref_name }} + # dockerfile: build/package/Dockerfile + # docker_image: modware-content + # cluster: ${{ vars.DEV_STAGING_CLUSTER }} + # cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}