Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
7d42c36
add platforms tags
AndrewThien Oct 14, 2025
78472f9
remove arm64 as default
AndrewThien Oct 15, 2025
3519dad
add platforms tags for two more workflow
AndrewThien Oct 15, 2025
53aca46
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
9f1878f
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
80ddedc
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
85ceb79
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
da0535a
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
f22b7cd
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
f212a1f
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
e370a28
chore: remove formatting changes to make pr easier to review
alee-x Oct 23, 2025
e4669aa
fix: add workflow to actually run on arm builder node
alee-x Oct 23, 2025
ab68b11
feat: add workflow to build arm64 containers
alee-x Oct 23, 2025
2aa89c1
fix: add workflow for new workflow
alee-x Oct 23, 2025
48c75a0
test: apply platforms tag to time buildx on x86
alee-x Oct 23, 2025
ae19dda
fix: remove test using arm64 node, add platforms param to pr-and-rele…
alee-x Oct 23, 2025
630a898
Merge branch 'add-platforms' into feat/multiarch-builds
alee-x Oct 23, 2025
f0364b6
test: make workflows refer to each other for testing
alee-x Oct 23, 2025
25d6924
fix: don't multi-ref the same key
alee-x Oct 23, 2025
696e962
feat: multi platform containers workflow for testing
rdash99 Oct 24, 2025
8d6e141
fix: yaml placement
rdash99 Oct 24, 2025
dea349f
fix: job name and prior processing
rdash99 Oct 24, 2025
2c1adfd
fix: matrix as string formatting not object
rdash99 Oct 24, 2025
4bd3424
fix: job output
rdash99 Oct 24, 2025
09515f3
fix: make job output into a list
rdash99 Oct 24, 2025
074038c
fix: utilise the output list
rdash99 Oct 24, 2025
7f6150a
fix: remove variable definition
rdash99 Oct 24, 2025
028ea78
test: output as json
rdash99 Oct 24, 2025
11c797c
fix: job level output
rdash99 Oct 24, 2025
be6ab05
fix: apply runner group
rdash99 Oct 24, 2025
06d7443
test: add a space
rdash99 Oct 27, 2025
ba62ee6
Revert "test: add a space"
rdash99 Oct 27, 2025
e35f296
test: does github treat labels like this?
rdash99 Oct 27, 2025
7cfdf8f
fix: remove unneeded input pass through
rdash99 Oct 27, 2025
577f57a
refactor: rename workflow
rdash99 Oct 27, 2025
25fe47e
refactor: delete unneeded workflow
rdash99 Oct 27, 2025
58d4afd
refactor: adapt release workflow
rdash99 Oct 27, 2025
4386534
feat: create bulk-pr-and-release-multi-platform-container.yaml
rdash99 Oct 27, 2025
fda8c69
Revert "fix: remove test using arm64 node, add platforms param to pr-…
rdash99 Oct 27, 2025
e1eaa62
Revert "test: make workflows refer to each other for testing"
rdash99 Oct 27, 2025
cec2530
chore: remove unused input
rdash99 Oct 27, 2025
4092d2d
refactor: use the correct action version
rdash99 Oct 27, 2025
e48e393
Revert "fix: don't multi-ref the same key"
rdash99 Oct 27, 2025
1f2f065
Revert "fix: add workflow to actually run on arm builder node"
rdash99 Oct 27, 2025
d72f983
Revert "test: apply platforms tag to time buildx on x86"
rdash99 Oct 27, 2025
bcdc8ce
chore: remove unneeded inputs from actions
rdash99 Oct 27, 2025
2f92c84
chore: restore a new line
rdash99 Oct 27, 2025
8cbc9fa
feat: add multi-platform bulk container workflow release workflow
rdash99 Oct 27, 2025
3ba20a7
test: extra architecture tag
rdash99 Oct 28, 2025
2360025
test: extra architecture tag
rdash99 Oct 28, 2025
39fbe56
test: try extra architecture tag on prs
rdash99 Oct 28, 2025
95fbce4
Revert "test: try extra architecture tag on prs"
rdash99 Oct 28, 2025
2434d8a
Revert "test: extra architecture tag"
rdash99 Oct 28, 2025
8de0346
Revert "test: extra architecture tag"
rdash99 Oct 28, 2025
da8c349
feat: add buildx platform passthrough
rdash99 Oct 28, 2025
1590f5d
feat: add runner label input
rdash99 Oct 28, 2025
d6b2602
refactor: point at branch for testing
rdash99 Oct 28, 2025
afd150c
Merge branch 'main' into feat/multiarch-builds
rdash99 Oct 28, 2025
5daf3f9
refactor: remove unneeded workflows
rdash99 Oct 28, 2025
3283dba
fix: missing type
rdash99 Oct 28, 2025
2a978de
fix: missing type
rdash99 Oct 28, 2025
42c99a3
Merge branch 'main' into feat/multiarch-builds
JossWhittle Oct 29, 2025
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
10 changes: 7 additions & 3 deletions .github/actions/bulk-pr-and-release-container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ inputs:
description: "KEY=VALUE build secrets from files as a multiline string."
default: ''

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -90,7 +94,7 @@ runs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- if: github.event_name == 'pull_request'
uses: SwanseaUniversityMedical/workflows/.github/actions/pr-container@v2.2.0-pr-container-action
uses: SwanseaUniversityMedical/workflows/.github/actions/pr-container@feat/multiarch-builds
with:
name: ${{ inputs.name }}
comment-enabled: ${{ inputs.comment-pr }}
Expand All @@ -105,6 +109,7 @@ runs:
build-secrets: ${{ inputs.build-secrets }}
build-secret-envs: ${{ inputs.build-secret-envs }}
build-secret-files: ${{ inputs.build-secret-files }}
platform: ${{ inputs.platform }}
test-flags: ${{ inputs.test-flags }}
test-args: ${{ inputs.test-args }}
platforms: ${{ inputs.platforms }}
Expand All @@ -129,11 +134,10 @@ runs:
build-secrets: ${{ inputs.build-secrets }}
build-secret-envs: ${{ inputs.build-secret-envs }}
build-secret-files: ${{ inputs.build-secret-files }}
platform: ${{ inputs.platform }}
test-flags: ${{ inputs.test-flags }}
test-args: ${{ inputs.test-args }}
platforms: ${{ inputs.platforms }}
cosign-public-key: ${{ inputs.cosign-public-key }}
cosign-private-key: ${{ inputs.cosign-private-key }}
cosign-password: ${{ inputs.cosign-password }}


6 changes: 6 additions & 0 deletions .github/actions/bulk-release-container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ inputs:
description: "KEY=VALUE build secrets from files as a multiline string."
default: ''

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -210,6 +214,7 @@ runs:
push: true
github-token: ${{ github.token }}
provenance: true
platforms: ${{ inputs.platform }}
cache-to: type=inline
cache-from: |
type=registry,ref=${{ steps.pr-meta.outputs.tags }}
Expand Down Expand Up @@ -348,6 +353,7 @@ runs:
push: true
github-token: ${{ github.token }}
provenance: true
platforms: ${{ inputs.platform }}
cache-from: |
type=registry,ref=${{ steps.pr-meta.outputs.tags }}
type=registry,ref=${{ steps.rc-meta.outputs.tags }}
Expand Down
8 changes: 7 additions & 1 deletion .github/actions/pr-and-release-container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ inputs:
description: "KEY=VALUE build secrets from files as a multiline string."
default: ''

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -95,7 +99,7 @@ runs:
name: ${{ inputs.name }}

- if: github.event_name == 'pull_request'
uses: SwanseaUniversityMedical/workflows/.github/actions/pr-container@v2.2.0-pr-container-action
uses: SwanseaUniversityMedical/workflows/.github/actions/pr-container@feat/multiarch-builds
with:
name: ${{ inputs.name }}
comment-enabled: ${{ inputs.comment-pr }}
Expand All @@ -109,6 +113,7 @@ runs:
build-secrets: ${{ inputs.build-secrets }}
build-secret-envs: ${{ inputs.build-secret-envs }}
build-secret-files: ${{ inputs.build-secret-files }}
platform: ${{ inputs.platform }}
test-flags: ${{ inputs.test-flags }}
test-args: ${{ inputs.test-args }}
platforms: ${{ inputs.platforms }}
Expand All @@ -133,6 +138,7 @@ runs:
build-secrets: ${{ inputs.build-secrets }}
build-secret-envs: ${{ inputs.build-secret-envs }}
build-secret-files: ${{ inputs.build-secret-files }}
platform: ${{ inputs.platform }}
test-flags: ${{ inputs.test-flags }}
test-args: ${{ inputs.test-args }}
platforms: ${{ inputs.platforms }}
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/pr-container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ inputs:
description: "KEY=VALUE build secrets from files as a multiline string."
default: ''

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -195,6 +199,7 @@ runs:
github-token: ${{ github.token }}
provenance: true
cache-to: type=inline
platforms: ${{ inputs.platform }}
cache-from: |
type=registry,ref=${{ steps.meta.outputs.tags }}
type=registry,ref=${{ steps.rc-recent-meta.outputs.tags }}
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/release-container/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ inputs:
description: "KEY=VALUE build secrets from files as a multiline string."
default: ''

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -236,6 +240,7 @@ runs:
github-token: ${{ github.token }}
platforms: ${{ inputs.platforms }}
provenance: true
platforms: ${{ inputs.platform }}
cache-to: type=inline
cache-from: |
type=registry,ref=${{ steps.pr-meta.outputs.tags }}
Expand Down Expand Up @@ -374,6 +379,7 @@ runs:
platforms: ${{ inputs.platforms }}
github-token: ${{ github.token }}
provenance: true
platforms: ${{ inputs.platform }}
cache-from: |
type=registry,ref=${{ steps.pr-meta.outputs.tags }}
type=registry,ref=${{ steps.rc-meta.outputs.tags }}
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/bulk-pr-and-release-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ on:
default: ''
type: string

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'
type: string

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -77,6 +82,11 @@ on:
default: ''
type: string

runner-label:
description: "Label for runner target"
default: 'x64'
type: string

cosign-public-key:
description: "Public key for cosigning images."
required: false
Expand Down Expand Up @@ -107,10 +117,10 @@ on:
jobs:
container:
runs-on:
labels: [ self-hosted, linux, x64 ]
labels: [ self-hosted, linux, "${{ inputs.runner-label }}" ]
group: heavy
steps:
- uses: SwanseaUniversityMedical/workflows/.github/actions/bulk-pr-and-release-container@v2.1.0-bulk-pr-and-release-container-action
- uses: SwanseaUniversityMedical/workflows/.github/actions/bulk-pr-and-release-container@feat/multiarch-builds
with:
name: ${{ inputs.job-name }}
comment-pr: ${{ inputs.comment-pr }}
Expand All @@ -127,6 +137,7 @@ jobs:
build-secrets: ${{ secrets.build-secrets }}
build-secret-envs: ${{ inputs.build-secret-envs }}
build-secret-files: ${{ inputs.build-secret-files }}
platform: ${{ inputs.platform }}
test-flags: ${{ inputs.test-flags }}
test-args: ${{ inputs.test-args }}
platforms: ${{ inputs.platforms }}
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/pr-and-release-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ on:
default: ''
type: string

platform:
description: "Platform to be passed to buildx"
default: 'linux/amd64'
type: string

test-flags:
description: "Arguments passed to docker run."
default: ''
Expand Down Expand Up @@ -77,6 +82,11 @@ on:
default: ''
type: string

runner-label:
description: "Label for runner target"
default: 'x64'
type: string

cosign-public-key:
description: "Public key for cosigning images."
required: false
Expand Down Expand Up @@ -108,10 +118,10 @@ on:
jobs:
container:
runs-on:
labels: [ self-hosted, linux, x64 ]
labels: [ self-hosted, linux, "${{ inputs.runner-label }}" ]
group: heavy
steps:
- uses: SwanseaUniversityMedical/workflows/.github/actions/pr-and-release-container@v3.1.0-pr-and-release-container-action
- uses: SwanseaUniversityMedical/workflows/.github/actions/pr-and-release-container@feat/multiarch-builds
with:
name: ${{ inputs.job-name }}
comment-pr: ${{ inputs.comment-pr }}
Expand All @@ -128,7 +138,7 @@ jobs:
build-secrets: ${{ secrets.build-secrets }}
build-secret-envs: ${{ inputs.build-secret-envs }}
build-secret-files: ${{ inputs.build-secret-files }}
platforms: ${{ inputs.platforms }}
platform: ${{ inputs.platform }}
test-flags: ${{ inputs.test-flags }}
test-args: ${{ inputs.test-args }}
cosign-public-key: ${{ inputs.cosign-public-key }}
Expand Down
Loading