From d0835f2e3b787a27254028c2f5900d92212a9a16 Mon Sep 17 00:00:00 2001 From: Matt DiMeglio Date: Thu, 12 Jun 2025 16:33:10 -0400 Subject: [PATCH] Update web-container.yml --- .github/workflows/web-container.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/web-container.yml b/.github/workflows/web-container.yml index 1fcf52d..095eeec 100644 --- a/.github/workflows/web-container.yml +++ b/.github/workflows/web-container.yml @@ -21,7 +21,7 @@ jobs: workflow_type: ${{ steps.workflow.outputs.workflow_type }} workflow_envs: ${{ steps.workflow.outputs.workflow_envs }} release_type: ${{ steps.workflow.outputs.release_type }} - current_version: ${{ steps.package_version.outputs.current_version }} + current_version: ${{ steps.version.outputs.current_version }} steps: - name: Checkout Code uses: actions/checkout@v4 @@ -44,16 +44,11 @@ jobs: echo "Running $workflow_type pipeline in environments: $workflow_envs" >> $GITHUB_STEP_SUMMARY - name: Extract Version - id: package_version + id: version shell: bash run: | - ls -la web/package.json version=$(jq -r '.version' web/package.json) - echo "Version is: $version" echo "current_version=$version" >> "$GITHUB_OUTPUT" - - name: Use version - run: | - echo "Extracted version: ${{ steps.package_version.outputs.current_version }}" nonprod-deploy: needs: determine-workflow if: needs.determine-workflow.outputs.workflow_type != 'release' @@ -66,6 +61,7 @@ jobs: environments: ${{ matrix.env }} workflow_type: ${{ needs.determine-workflow.outputs.workflow_type }} branch: ${{ github.head_ref || github.ref_name }} + current_version: ${{ needs.determine-workflow.outputs.current_version }} secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}