From 2ea13be47e381c7df2a2996757eadeda879cc197 Mon Sep 17 00:00:00 2001 From: Omar Muscatello <115794104+omar-muscatello-zupit@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:35:37 +0100 Subject: [PATCH] feat: add dotnet image env variables --- .github/workflows/dotnet-workflow-common.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dotnet-workflow-common.yml b/.github/workflows/dotnet-workflow-common.yml index ed0f1e8c..af641907 100644 --- a/.github/workflows/dotnet-workflow-common.yml +++ b/.github/workflows/dotnet-workflow-common.yml @@ -9,6 +9,10 @@ on: DOTNET_IMAGE: required: true type: string + DOTNET_IMAGE_ENV_VARIABLES: + required: false + type: string + default: '' CONTAINER_CI_LABELS: required: true type: string @@ -24,9 +28,11 @@ jobs: container: image: ${{ inputs.DOTNET_IMAGE }} + defaults: run: working-directory: ${{ inputs.WORKING_DIRECTORY }} + env: ${{ inputs.DOTNET_IMAGE_ENV_VARIABLES }} steps: - name: Checkout repository