Skip to content

Commit

Permalink
Fix passing env vars to Docker container
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Nov 1, 2023
1 parent 8a92ece commit 36e8b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/secrets-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
args: --release --out dist --find-interpreter
sccache: "true"
manylinux: auto
docker-options: --env-file $GITHUB_ENV
docker-options: -e PKG_CONFIG_SYSROOT_DIR=${{ env.PKG_CONFIG_SYSROOT_DIR }} -e RUSTFLAGS=${{ env.RUSTFLAGS }} -e PKG_CONFIG_PATH=${{ env.PKG_CONFIG_PATH }}
working-directory: src/secrets/src/keyring
before-script-linux: |
if command -v yum &> /dev/null; then
yum update && yum install -y libsecret-devel.${{ env.CROSS_DEB_ARCH }}
else
dpkg --add-architecture ${{ env.CROSS_DEB_ARCH }}
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libsecret-1-dev:${{ env.CROSS_DEB_ARCH }}
apt-get update && apt-get install -y libsecret-1-dev:${{ env.CROSS_DEB_ARCH }}
fi
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 36e8b10

Please sign in to comment.