Skip to content

Commit ff15b2a

Browse files
committed
github: disable linux/arm64 by default
1 parent ea22c76 commit ff15b2a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/github-packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: list of dists to build, coma separated. xenial,sid
1212
required: false
1313
type: string
14+
platforms:
15+
description: build platforms, coma separated. linux/amd64,linux/arm64
16+
required: true
17+
default: linux/amd64
18+
type: string
1419
env:
1520
REGISTRY_NAME: ghcr.io
1621
IMAGE_NAME: pkg-kamailio-docker
@@ -62,7 +67,7 @@ jobs:
6267
uses: docker/build-push-action@v6
6368
with:
6469
context: "{{defaultContext}}:${{ matrix.dist }}"
65-
platforms: linux/amd64,linux/arm64
70+
platforms: ${{ github.event.inputs.platforms }}
6671
labels: ${{ steps.meta.outputs.labels }}
6772
push: true
6873
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/weekly-github-packages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
- cron: '0 0 * * 0'
66
# Allows you to run this workflow manually from the Actions tab
77
workflow_dispatch:
8+
inputs:
9+
platforms:
10+
description: build platforms, coma separated. linux/amd64,linux/arm64
11+
required: true
12+
default: linux/amd64
13+
type: string
814
env:
915
REGISTRY_NAME: ghcr.io
1016
IMAGE_NAME: pkg-kamailio-docker
@@ -48,7 +54,7 @@ jobs:
4854
uses: docker/build-push-action@v6
4955
with:
5056
context: "{{defaultContext}}:${{ matrix.dist }}"
51-
platforms: linux/amd64,linux/arm64
57+
platforms: ${{ github.event.inputs.platforms }}
5258
labels: ${{ steps.meta.outputs.labels }}
5359
push: true
5460
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)