diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 508caad2..b4fb4935 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1dbd3f7a..9e212c76 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 }} @@ -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 }} diff --git a/commands/publish.go b/commands/publish.go index 7621f574..fd08f746 100644 --- a/commands/publish.go +++ b/commands/publish.go @@ -75,7 +75,7 @@ var publishCmd = &cobra.Command{ [--build-option VALUE] [--copy-extra PATH] [--tag ] - [--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", @@ -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