Skip to content

Commit

Permalink
Add pull serverless build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKalke committed Jul 5, 2024
1 parent 6313635 commit ae482a4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/serverless-build-pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: serverless build (pull)

on:
pull_request_target:
types: [ opened, edited, synchronize, reopened, ready_for_review ]

permissions:
id-token: write # This is required for requesting the JWT token
contents: read # This is required for actions/checkout

jobs:
build-image-serverless-controller:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main
with:
name: function-controller/ga
dockerfile: components/serverless/deploy/manager/Dockerfile
context: .

build-image-serverless-webhook:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main
with:
name: function-webhook/ga
dockerfile: components/serverless/deploy/webhook/Dockerfile
context: .

build-image-serverless-jobinit:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main
with:
name: function-build-init/ga
dockerfile: components/serverless/deploy/jobinit/Dockerfile
context: .

0 comments on commit ae482a4

Please sign in to comment.