Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MotwaniM committed Mar 21, 2024
1 parent e63b015 commit e82051a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,23 @@ jobs:
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "RUNNER_LABEL=self-hosted" >> $GITHUB_OUTPUT
start-runner:
uses: i-dot-ai/i-dot-ai-core-github-actions/.github/workflows/start-runner.yaml@feature/start-stop-runners
needs: set-vars
with:
EC2_INSTANCE_TYPE: ${{ needs.set-vars.outputs.ec2-instance-type }}
secrets:
AWS_GITHUBRUNNER_USER_ACCESS_KEY: ${{ secrets.AWS_GITHUBRUNNER_USER_ACCESS_KEY }}
AWS_GITHUBRUNNER_USER_SECRET_ID: ${{ secrets.AWS_GITHUBRUNNER_USER_SECRET_ID }}
AWS_GITHUBRUNNER_PAT: ${{ secrets.AWS_GITHUBRUNNER_PAT}}
AWS_REGION: ${{ secrets.AWS_REGION }}



build-image:
needs:
- set-vars
uses: i-dot-ai/i-dot-ai-core-github-actions/.github/workflows/build-docker.yml@main
uses: i-dot-ai/i-dot-ai-core-github-actions/.github/workflows/build-docker.yml@feature/start-stop-runners
with:
APP_NAME: ${{ needs.set-vars.outputs.app-name }}
RUNNER_LABEL: ${{ needs.set-vars.outputs.runner_label }}
Expand Down

0 comments on commit e82051a

Please sign in to comment.