Skip to content

Commit

Permalink
Allow builds to choose runners by label
Browse files Browse the repository at this point in the history
  • Loading branch information
niconosenzo committed Sep 18, 2024
1 parent bb09d24 commit 77a54b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ on:
type: string
default: ''
description: 'Dockerfile target'
runner:
required: false
type: string
default: 'non-prod'
description: 'Runner type'

secrets:
API_TOKEN_GITHUB:
Expand All @@ -40,7 +45,7 @@ on:
jobs:
release:
name: Build Docker
runs-on: non-prod
runs-on: ${{ inputs.runner }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 77a54b7

Please sign in to comment.