Skip to content

Commit

Permalink
Use the knative's release image registry for the pre-build image (#6048)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Leo6Leo committed Jul 9, 2024
1 parent 0784d58 commit 0804fc5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/knative-docs-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ 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/**"
- "docs/serving/autoscaling/autoscale-go/**"
- "hack/docker/**"
- ".github/workflows/knative-docs-image.yaml"
Expand Down Expand Up @@ -53,3 +55,19 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
context: ./docs/serving/autoscaling/autoscale-go
tags: ghcr.io/knative/autoscale-go:latest

- name: Build sample-app's frontend image
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
context: ./code-samples/eventing/bookstore-sample-app/solution/frontend
tags: ghcr.io/knative/bookstore-frontend:latest

- name: Build sample-app's node-server image
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
context: ./code-samples/eventing/bookstore-sample-app/solution/node-server
tags: ghcr.io/knative/node-server:latest

0 comments on commit 0804fc5

Please sign in to comment.