fix: pass env through to docker

This commit is contained in:
Eli Bosley
2024-10-24 11:53:13 -04:00
parent c0179c8351
commit a929c7e3b3

View File

@@ -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