From a929c7e3b31955098ec826da74c78ffcbcdf5280 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Thu, 24 Oct 2024 11:53:13 -0400 Subject: [PATCH] fix: pass env through to docker --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9946825e..4690a1ff4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -75,11 +75,7 @@ jobs: - name: Build inside of the docker container id: build-pack-binary run: | - docker run --rm -v ${{ github.workspace }}/api/deploy/release:/app/deploy/release builder npm run build-and-pack - env: - GIT_SHA: ${{ steps.vars.outputs.GIT_SHA }} - API_VERSION: ${{ steps.vars.outputs.API_VERSION }} - IS_TAGGED: ${{ steps.vars.outputs.IS_TAGGED }} + docker run --rm -v ${{ github.workspace }}/api/deploy/release:/app/deploy/release -e GIT_SHA=${{ steps.vars.outputs.GIT_SHA }} -e API_VERSION=${{ steps.vars.outputs.API_VERSION }} -e IS_TAGGED=${{ steps.vars.outputs.IS_TAGGED }} builder npm run build-and-pack - name: Set Hashes id: set-hashes