This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docker image and deploy it to ECR | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push | |
push: | |
branches: [ your-branch ] | |
jobs: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Variables | |
runner_version="2.314.1" # GitHub runner version | |
count=2 # Number of GitHub runner services to create | |
base_dir="/apps" # Base directory for github runner services | |
working_dir_base="/apps/actions-runners/action-runner-" # GitHub runner working directories | |
# Get user and group input | |
read -p "Enter the action process username: " action_process_user |