From e7ccae85fa65194000e1b96e89510f5d54ea0485 Mon Sep 17 00:00:00 2001 From: Leo Li Date: Fri, 12 Jul 2024 01:46:21 -0400 Subject: [PATCH] Fix the failed image build workflow (#6052) * fix: simplify the watched directory by watching the whole bookstore dir * fix: We are only providing the builds for linux platform --- .github/workflows/knative-docs-image.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/knative-docs-image.yaml b/.github/workflows/knative-docs-image.yaml index 8525d703255..54d469f4a34 100644 --- a/.github/workflows/knative-docs-image.yaml +++ b/.github/workflows/knative-docs-image.yaml @@ -5,8 +5,7 @@ on: branches: ['main'] paths: - "code-samples/serving/hello-world/helloworld-go/**" - - "code-samples/eventing/bookstore-sample-app/solution/frontend/**" - - "code-samples/eventing/bookstore-sample-app/solution/node-server/**" + - "code-samples/eventing/bookstore-sample-app/**" - "docs/serving/autoscaling/autoscale-go/**" - "hack/docker/**" - ".github/workflows/knative-docs-image.yaml" @@ -60,7 +59,7 @@ jobs: uses: docker/build-push-action@v4 with: push: true - platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64 + platforms: linux/amd64,linux/arm64 context: ./code-samples/eventing/bookstore-sample-app/solution/frontend tags: ghcr.io/knative/bookstore-frontend:latest @@ -68,6 +67,6 @@ jobs: uses: docker/build-push-action@v4 with: push: true - platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64 + platforms: linux/amd64,linux/arm64 context: ./code-samples/eventing/bookstore-sample-app/solution/node-server tags: ghcr.io/knative/node-server:latest