mirror of https://github.com/knative/docs.git
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
This commit is contained in:
parent
1b4eb70c35
commit
e7ccae85fa
|
@ -5,8 +5,7 @@ on:
|
||||||
branches: ['main']
|
branches: ['main']
|
||||||
paths:
|
paths:
|
||||||
- "code-samples/serving/hello-world/helloworld-go/**"
|
- "code-samples/serving/hello-world/helloworld-go/**"
|
||||||
- "code-samples/eventing/bookstore-sample-app/solution/frontend/**"
|
- "code-samples/eventing/bookstore-sample-app/**"
|
||||||
- "code-samples/eventing/bookstore-sample-app/solution/node-server/**"
|
|
||||||
- "docs/serving/autoscaling/autoscale-go/**"
|
- "docs/serving/autoscaling/autoscale-go/**"
|
||||||
- "hack/docker/**"
|
- "hack/docker/**"
|
||||||
- ".github/workflows/knative-docs-image.yaml"
|
- ".github/workflows/knative-docs-image.yaml"
|
||||||
|
@ -60,7 +59,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
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
|
context: ./code-samples/eventing/bookstore-sample-app/solution/frontend
|
||||||
tags: ghcr.io/knative/bookstore-frontend:latest
|
tags: ghcr.io/knative/bookstore-frontend:latest
|
||||||
|
|
||||||
|
@ -68,6 +67,6 @@ jobs:
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
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
|
context: ./code-samples/eventing/bookstore-sample-app/solution/node-server
|
||||||
tags: ghcr.io/knative/node-server:latest
|
tags: ghcr.io/knative/node-server:latest
|
||||||
|
|
Loading…
Reference in New Issue