Skip to content

Commit e7ccae8

Browse files
authored
Fix the failed image build workflow (knative#6052)
* fix: simplify the watched directory by watching the whole bookstore dir * fix: We are only providing the builds for linux platform
1 parent 1b4eb70 commit e7ccae8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: .github/workflows/knative-docs-image.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
branches: ['main']
66
paths:
77
- "code-samples/serving/hello-world/helloworld-go/**"
8-
- "code-samples/eventing/bookstore-sample-app/solution/frontend/**"
9-
- "code-samples/eventing/bookstore-sample-app/solution/node-server/**"
8+
- "code-samples/eventing/bookstore-sample-app/**"
109
- "docs/serving/autoscaling/autoscale-go/**"
1110
- "hack/docker/**"
1211
- ".github/workflows/knative-docs-image.yaml"
@@ -60,14 +59,14 @@ jobs:
6059
uses: docker/build-push-action@v4
6160
with:
6261
push: true
63-
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64
62+
platforms: linux/amd64,linux/arm64
6463
context: ./code-samples/eventing/bookstore-sample-app/solution/frontend
6564
tags: ghcr.io/knative/bookstore-frontend:latest
6665

6766
- name: Build sample-app's node-server image
6867
uses: docker/build-push-action@v4
6968
with:
7069
push: true
71-
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64
70+
platforms: linux/amd64,linux/arm64
7271
context: ./code-samples/eventing/bookstore-sample-app/solution/node-server
7372
tags: ghcr.io/knative/node-server:latest

0 commit comments

Comments
 (0)