Skip to content

Commit 0804fc5

Browse files
authored
Use the knative's release image registry for the pre-build image (#6048)
* fix: Update the github workflow to build the release images for the sample app * fix: Update the github workflow to build the release images for the sample app
1 parent 0784d58 commit 0804fc5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/knative-docs-image.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ 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/**"
810
- "docs/serving/autoscaling/autoscale-go/**"
911
- "hack/docker/**"
1012
- ".github/workflows/knative-docs-image.yaml"
@@ -53,3 +55,19 @@ jobs:
5355
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
5456
context: ./docs/serving/autoscaling/autoscale-go
5557
tags: ghcr.io/knative/autoscale-go:latest
58+
59+
- name: Build sample-app's frontend image
60+
uses: docker/build-push-action@v4
61+
with:
62+
push: true
63+
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64
64+
context: ./code-samples/eventing/bookstore-sample-app/solution/frontend
65+
tags: ghcr.io/knative/bookstore-frontend:latest
66+
67+
- name: Build sample-app's node-server image
68+
uses: docker/build-push-action@v4
69+
with:
70+
push: true
71+
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64
72+
context: ./code-samples/eventing/bookstore-sample-app/solution/node-server
73+
tags: ghcr.io/knative/node-server:latest

0 commit comments

Comments
 (0)