From b99432ff51dd3d89199f84c00ddde2411034194c Mon Sep 17 00:00:00 2001 From: mohit Date: Wed, 20 Mar 2024 17:03:07 +0000 Subject: [PATCH] TEST --- .github/.github.env | 2 +- .github/workflows/build-gh.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/.github.env b/.github/.github.env index 0b49277a..086cf9a0 100644 --- a/.github/.github.env +++ b/.github/.github.env @@ -1,7 +1,7 @@ # github specific EC2_INSTANCE_TYPE=t3.large ENVIRONMENT=github - +RUNNER_LABEL=TEST # App related APP_NAME=consultations-test diff --git a/.github/workflows/build-gh.yml b/.github/workflows/build-gh.yml index 872facb8..352364e4 100644 --- a/.github/workflows/build-gh.yml +++ b/.github/workflows/build-gh.yml @@ -15,6 +15,7 @@ jobs: ec2-instance-type: ${{ steps.export.outputs.ec2-instance-type }} aws-region: ${{ steps.export.outputs.aws-region }} version: ${{ steps.export.outputs.version }} + runner_label: ${{ steps.export.outputs.runner_label }} steps: - name: Checkout @@ -26,6 +27,7 @@ jobs: echo "app-name=${APP_NAME}" >> $GITHUB_OUTPUT echo "aws-region=${AWS_REGION}" >> $GITHUB_OUTPUT echo "version=${VERSION}" >> $GITHUB_OUTPUT + echo "RUNNER_LABEL=${RUNNER_LABELS}" >> $GITHUB_OUTPUT build-image: needs: @@ -34,6 +36,8 @@ jobs: with: APP_NAME: ${{ needs.set-vars.outputs.app-name }} AWS_REGION: ${{ needs.set-vars.outputs.aws-region }} + RUNNER_LABEL: ${{ needs.set-vars.outputs.runner_label }} + INFRASTRUCTURE_FOLDER: "infrastructure" secrets: AWS_GITHUBRUNNER_PAT: ${{ secrets.AWS_GITHUBRUNNER_PAT}} AWS_GITHUBRUNNER_PAT_USER: ${{ secrets.AWS_GITHUBRUNNER_PAT_USER }}