https://github.com/edersonbrilhante/gitlab-runner-action
GitHub Action to run your own GitLab Runner inside a GitHub Runner
https://github.com/edersonbrilhante/gitlab-runner-action
github-actions gitlab-runner
Last synced: 7 months ago
JSON representation
GitHub Action to run your own GitLab Runner inside a GitHub Runner
- Host: GitHub
- URL: https://github.com/edersonbrilhante/gitlab-runner-action
- Owner: edersonbrilhante
- License: mit
- Created: 2021-03-19T22:46:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T22:17:54.000Z (over 3 years ago)
- Last Synced: 2025-06-24T10:06:19.133Z (11 months ago)
- Topics: github-actions, gitlab-runner
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/gitlab-runner-service
- Size: 49.8 KB
- Stars: 9
- Watchers: 1
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitlab Runner Action
This action allow you have a gitlab runner up to ~60gb
## Action Inputs
| Input Name | Description | Required | Enum Values | Default Value |
|-----------------|-------------|---------------|---------------|---------------|
| `registration-token` | Registration token | Yes | N/A | N/A |
| `name` | Runner name | Yes | N/A | N/A |
| `tag-list` | Tag list to bind with the runner | Yes | N/A | N/A |
| `docker-image` | Docker image used by runner | No | N/A | docker:19.03.12 |
| `run-untagged` | Parameter that allows or not to pick untagged jobs" | No | true or false | true |
| `access-level` | Parameter to create or not a protected runner | No | ref_protected or not_protected | not_protected |
## Example Workflows
Complete example with steps for cleaning space and gilab runner
```yaml
name: Gitlab Runner Service
on: [repository_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize Build Space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Gitlab Runner
uses: edersonbrilhante/gitlab-runner-action@main
with:
registration-token: "${{ github.event.client_payload.registration_token }}"
docker-image: "docker:19.03.12"
name: ${{ github.run_id }}
tag-list: "crosscicd"
```