Skip to content

Commit cb0c41e

Browse files
committed
Remove armv7 from build and examples
The armv7 target has been deprecated by OpenFaaS. You are still able to use older builds, but arm64 should be used instead going forward. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 6c53304 commit cb0c41e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
file: ./Dockerfile
4949
push: false
5050
load: false
51-
platforms: linux/amd64,linux/arm/v7,linux/arm64
51+
platforms: linux/amd64,linux/arm64
5252
target: release
5353
build-args: |
5454
VERSION=latest-dev

.github/workflows/publish.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
context: .
5252
file: ./Dockerfile
53-
platforms: linux/amd64,linux/arm/v7,linux/arm64
53+
platforms: linux/amd64,linux/arm64
5454
target: release
5555
build-args: |
5656
VERSION=${{ env.TAG }}
@@ -67,7 +67,7 @@ jobs:
6767
with:
6868
context: .
6969
file: ./Dockerfile
70-
platforms: linux/amd64,linux/arm/v7,linux/arm64
70+
platforms: linux/amd64,linux/arm64
7171
target: root
7272
build-args: |
7373
VERSION=${{ env.TAG }}

commands/publish.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var publishCmd = &cobra.Command{
7575
[--build-option VALUE]
7676
[--copy-extra PATH]
7777
[--tag <sha|branch|describe>]
78-
[--platforms linux/arm/v7]
78+
[--platforms linux/amd64,linux/arm64]
7979
[--reset-qemu]
8080
[--remote-builder http://127.0.0.1:8081/build]`,
8181
Short: "Builds and pushes multi-arch OpenFaaS container images",
@@ -90,8 +90,8 @@ Docker and buildx. You must use a multi-arch template to use this command with
9090
correctly configured TARGETPLATFORM and BUILDPLATFORM arguments.
9191
9292
See also: faas-cli build`,
93-
Example: ` faas-cli publish --platforms linux/amd64,linux/arm64,linux/arm/7
94-
faas-cli publish --platforms linux/arm/7 --filter webhook
93+
Example: ` faas-cli publish --platforms linux/amd64,linux/arm64
94+
faas-cli publish --platforms linux/arm64 --filter webhook-arm
9595
faas-cli publish -f go.yml --no-cache --build-arg NPM_VERSION=0.2.2
9696
faas-cli publish --build-option dev
9797
faas-cli publish --tag sha

0 commit comments

Comments
 (0)