From 866cda535570433b38504d5d9f1aeaeac616bdb2 Mon Sep 17 00:00:00 2001 From: Landon Pierce Date: Thu, 23 Jun 2022 14:54:30 -0400 Subject: [PATCH] move input path var --- .github/workflows/template-container-image-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/template-container-image-build.yml b/.github/workflows/template-container-image-build.yml index a74ae82f..52b3310e 100644 --- a/.github/workflows/template-container-image-build.yml +++ b/.github/workflows/template-container-image-build.yml @@ -23,6 +23,9 @@ jobs: build: name: Build Application runs-on: ubuntu-latest + env: + IMAGE_PATH: "${{inputs.image_repository}}/${{ inputs.image_to_push }}" + steps: - name: Code Checkout uses: actions/checkout@v2 @@ -37,7 +40,6 @@ jobs: - name: Create Tag run: | - IMAGE_PATH="${{inputs.image_repository}}/${{ inputs.image_to_push }}" IMAGE_TAG=$IMAGE_PATH:${{ inputs.tag_name }} # Make characters lowercase IMAGE_TAG=$(echo $IMAGE_TAG | tr '[:upper:]' '[:lower:]')