Skip to content

Commit 3328ecc

Browse files
authored
chore: parametrize runner tag for build workflow (#170)
* chore: parametrize runner tag for build workflow * chore: use ubuntu-22.04 as a default
1 parent 8e8f810 commit 3328ecc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build_docker_image_and_push_to_ecr.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ on:
5454
description: Override the author of event
5555
required: false
5656
type: string
57+
runner:
58+
description: Runner to use
59+
required: false
60+
type: string
61+
default: ubuntu-22.04
5762

5863
secrets:
5964
awsAccessKeyId:
@@ -81,7 +86,7 @@ env:
8186

8287
jobs:
8388
build:
84-
runs-on: ubuntu-latest
89+
runs-on: ${{ inputs.runner }}
8590
steps:
8691
- name: Send notification to slack
8792
if: inputs.slackChannelId != ''

0 commit comments

Comments
 (0)