From e89786fe3bca62ec1e52cb1ef027fd7f10ee9233 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 3 Nov 2023 13:30:36 +0100 Subject: [PATCH] Added environment variables into podman run. --- .github/workflows/build_pkg.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build_pkg.yml b/.github/workflows/build_pkg.yml index 35475a5..5d97468 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -75,6 +75,10 @@ jobs: id: build run: | pkg="$(podman run \ + -e EMAIL=${{ env.INPUT_EMAIL }} \ + -e NAME=${{ env.INPUT_NAME }} \ + -e DIST=${{ env.INPUT_DIST }} \ + -e MESSAGE=${{ env.INPUT_MESSAGE }} \ --rm \ -v "$PWD/input:/input" \ -v "$PWD/output:/output" \ @@ -149,6 +153,10 @@ jobs: run: | mkdir output pkg="$(podman run \ + -e EMAIL=${{ env.INPUT_EMAIL }} \ + -e NAME=${{ env.INPUT_NAME }} \ + -e DIST=${{ env.INPUT_DIST }} \ + -e MESSAGE=${{ env.INPUT_MESSAGE }} \ --rm \ -v "$PWD/input:/input" \ -v "$PWD/output:/output" \