Skip to content

Commit

Permalink
Remove armv7 from build and examples
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
alexellis committed Sep 25, 2024
1 parent 6c53304 commit cb0c41e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
file: ./Dockerfile
push: false
load: false
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
target: release
build-args: |
VERSION=latest-dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
target: release
build-args: |
VERSION=${{ env.TAG }}
Expand All @@ -67,7 +67,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
target: root
build-args: |
VERSION=${{ env.TAG }}
Expand Down
6 changes: 3 additions & 3 deletions commands/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var publishCmd = &cobra.Command{
[--build-option VALUE]
[--copy-extra PATH]
[--tag <sha|branch|describe>]
[--platforms linux/arm/v7]
[--platforms linux/amd64,linux/arm64]
[--reset-qemu]
[--remote-builder http://127.0.0.1:8081/build]`,
Short: "Builds and pushes multi-arch OpenFaaS container images",
Expand All @@ -90,8 +90,8 @@ Docker and buildx. You must use a multi-arch template to use this command with
correctly configured TARGETPLATFORM and BUILDPLATFORM arguments.
See also: faas-cli build`,
Example: ` faas-cli publish --platforms linux/amd64,linux/arm64,linux/arm/7
faas-cli publish --platforms linux/arm/7 --filter webhook
Example: ` faas-cli publish --platforms linux/amd64,linux/arm64
faas-cli publish --platforms linux/arm64 --filter webhook-arm
faas-cli publish -f go.yml --no-cache --build-arg NPM_VERSION=0.2.2
faas-cli publish --build-option dev
faas-cli publish --tag sha
Expand Down

0 comments on commit cb0c41e

Please sign in to comment.