Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ on:
type: string
default: "."

runs_on:
description: "Runner to execute the job on (e.g. 'ubuntu-latest' or a self-hosted runner label)."
required: false
type: string
default: "ubuntu-latest"

secrets:
registry_username:
description: "Username for container registry"
Expand All @@ -62,7 +68,7 @@ permissions:

jobs:
build-and-push-docker-image-to-container-registry:
runs-on: ubuntu-latest
runs-on: ${{ inputs.runs_on }}
permissions:
contents: read
packages: write
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy_to_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ on:
required: false
type: string
default: ""
runs_on:
description: "Runner label for the image-build job (e.g. 'ubuntu-latest' or a self-hosted runner label). The deployment update job always uses ubuntu-latest."
required: false
type: string
default: "ubuntu-latest"
secrets:
registry_username:
required: true
Expand Down Expand Up @@ -72,6 +77,7 @@ jobs:
tag: ${{ needs.get-short-sha.outputs.tag }}
path_to_dockerfile: ${{ inputs.path_to_dockerfile }}
path_to_context: ${{ inputs.path_to_context }}
runs_on: ${{ inputs.runs_on }}
secrets:
registry_username: ${{ secrets.registry_username }}
registry_password: ${{ secrets.registry_password }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy_to_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ on:
required: false
type: string
default: "."
runs_on:
description: "Runner label for the image-build job (e.g. 'ubuntu-latest' or a self-hosted runner label). The deployment update job always uses ubuntu-latest."
required: false
type: string
default: "ubuntu-latest"
secrets:
registry_username:
required: true
Expand All @@ -62,6 +67,7 @@ jobs:
secondary_tag: latest
path_to_dockerfile: ${{ inputs.path_to_dockerfile }}
path_to_context: ${{ inputs.path_to_context }}
runs_on: ${{ inputs.runs_on }}
secrets:
registry_username: ${{ secrets.registry_username }}
registry_password: ${{ secrets.registry_password }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/promote_to_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ on:
author_name:
required: true
type: string
runs_on:
description: "Runner label for the image-copy job (e.g. 'ubuntu-latest' or a self-hosted runner label). The deployment update job always uses ubuntu-latest."
required: false
type: string
default: "ubuntu-latest"
secrets:
staging_registry_username:
required: true
Expand Down Expand Up @@ -76,7 +81,7 @@ jobs:
copy-image-to-production:
name: Copy staging image to production registry
needs: get-staging-version
runs-on: ubuntu-latest
runs-on: ${{ inputs.runs_on }}
steps:
- name: Log in to staging registry
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 #v4
Expand Down
Loading