Skip to content

Commit

Permalink
feat: Add inputs to specify runner size
Browse files Browse the repository at this point in the history
  • Loading branch information
emgrav committed Jan 30, 2025
1 parent 4940138 commit 8a17531
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ on:
required: false
default: "Dockerfile"
type: string
arm_runner:
description: "Runner size to use for arm builds. Refer to GH Actions documentation for options"
required: false
default: arm-ubuntu-latest-8core
type: string
amd64_runner:
description: "Runner size to use for amd64 builds. Refer to GH Actions documentation for options"
required: false
default: ubuntu-latest
type: string

jobs:
docker:
Expand All @@ -59,9 +69,9 @@ jobs:
matrix:
include:
- platform: linux/amd64
runner: ubuntu-latest
runner: ${{ inputs.amd64_runner }}
- platform: linux/arm64
runner: arm-ubuntu-latest-8core
runner: ${{ inputs.arm_runner }}
runs-on: ${{ matrix.runner }}
permissions:
contents: read
Expand Down

0 comments on commit 8a17531

Please sign in to comment.