Questions tagged [github-actions-self-hosted-runners]

Use this tag when asking questions specific to self-hosted runners for GitHub Actions.

GitHub Actions offers the option to self-host your runners instead of using the cloud-based runners provided by GitHub. Using a self-hosted runner provides more control about the runner's configuration.

124 questions
1
vote
0 answers

How to update/cherry-pick other branches on push on specified branch?

I would like to create GitHub action that is triggered by push on specified branch X. This action will push/cherry-pick changes made on branch X to other branches. Example code: name: Cherry-pick on: push: branches: [X] jobs: …
1
vote
2 answers

Github self-hosted runner fails to run as a service on RH Linux

I installed a GitHub self-hosted runner on a RH Linux EC2 instance. It runs fine in interactive mode: ./run.sh But when trying to run it as a service. (sudo ./svc.sh start), it fails to start. Active: failed runsvc.sh (code=exited,…
1
vote
0 answers

Names for self-hosted GitHub Actions Runners

The documentation for --name argument do not mention any specific requirements for a GitHub Actions runner's name and I could not find anything related in the docs for self-hosted runners. Is there any documentation about the naming? Does it need to…
Andi
  • 650
  • 2
  • 8
  • 22
1
vote
2 answers

GitHub runner setup in GKE

I am trying to create a GitHub actions self-host runner in GKE. For the I created the Docker with Ubuntu base image and downloaded the GitHub runner code. curl -o actions-runner-linux-x64-2.288.1.tar.gz -L…
1
vote
0 answers

GitHub Actions: How to automatically pull and merge on a remote server

I have a repo in GitHub with 2 branches (dev & master) and an app on a local apache server hosted in my house (the server has a public ip). Currently, whenever I make changes to dev, I push the code, make a pull request, merge the change to master…
1
vote
0 answers

Docker based runner to use private image to build

My self-hosted docker based runner already activated at GitHub organization level. Separately to perform npm build through our private docker image, Trying with below workflow yml code. name: CI with Docker on: push: branches: [ master ] …
1
vote
0 answers

Why does only one GitHub self-hosted runner accept the new job?

I have three Ubuntu Pcs, which have their own GitHub self-hosted runner. Two of the runners (on PC 1, and PC 2) are labeled test, the third (PC 3) is labeled production. In addition, all runners are labelled self-hosted On GitHub, I have three…
YAAU
  • 11
  • 1
1
vote
1 answer

Where can I find the docker image which github action uses with pre-installed software

I'm using self hosted runner instead of Github runner for Github Actions because the self hosted runner will have access to private network. I'll also be using containers on top of the self hosted runner. From the…
Kohini
  • 427
  • 2
  • 6
  • 14
1
vote
0 answers

Cannot run on self hosted runner of github actions bundle install with docker-compose run

I was using the self hosted runner of github actions to build the CI environment. We use docker for development, and docker-compose is used to manage the configuration of the development environment. The CI also uses a set of commands using…
1
vote
1 answer

Self Hosted GitHub Runner on Google Cloud Run with no ingress port

I want to run docker containers on Google Cloud Run that act as GitHub Self Hosted Runners, but I'm having problems when deploying the container to CloudRun as it complaining about the port. The error is like: Container failed to start. Failed to…
1
vote
1 answer

Does dockerized github actions support network options for docker run parameters

I am using self hosted github runners for vpn access to some software and I am trying to use a dockerized github action on the self hosted runners but I am having issues because I need to specify the --network host flag when github action runs…
1
vote
1 answer

GitHub Actions with a Self Hosted Windows-Runner "File not found: 'bash'"

I'm trying to write a Composite Run Step Action that runs on all platforms, including Windows. runs: using: "composite" steps: - run: flutter pub get working-directory: ${{ inputs.working-dir }} When I omit shell, I get the error…
shawnblais
  • 1,038
  • 11
  • 23
0
votes
1 answer

How to self-create a docker image in GitHub Action then use it for steps?

Is it possible to omit using of Docker Hub and any docker image repo/registry to use a docker image in GitHub Actions? I have a self-hosted runner Linux PC which is able to create my own docker image in any time. Is it possible to make a GitHub…
0
votes
0 answers

"Could not find compatible versions" error on pod install in Github Action Workflow

As part of a Github Action workflow (that we are running on a self-hosted runner - a mac-mini) we have a cocoapod install step: - name: Install CocoaPods run: bundle exec pod install --deployment working-directory: ios However, when this action…
0
votes
0 answers

How to deploy ARC runners to a Github org correctly

I have been struggling with all the documentation on Github and broader, on how to deploy ARC runners to our Github organisation I have followed these…
1 2 3
8 9