Skip to content

Commit

Permalink
Update and rename pull-ex-buildx-images.yml to buildx-images.yml (#12059
Browse files Browse the repository at this point in the history
)
  • Loading branch information
akiioto authored Oct 3, 2024
1 parent ab194d3 commit ac9ec7b
Showing 1 changed file with 24 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
name: pull-ex-buildx-images
name: buildx-images

on:
# pull_request_target:
# types: [opened, edited, synchronize, reopened, ready_for_review]
# paths:
# - "images/**"
# - ".github/workflows/image-builder.yml"
# push:
# branches:
# - main
# paths:
# - "images/**"
# - ".github/workflows/image-builder.yml"
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "images/**"
- ".github/workflows/image-builder.yml"
push:
branches:
- main
paths:
- "images/**"
- ".github/workflows/image-builder.yml"
workflow_dispatch: {}

jobs:
# Build the base Alpine image
build-alpine:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: alpine
dockerfile: images/alpine/Dockerfile
Expand All @@ -38,7 +39,7 @@ jobs:
# Build alpine/git image that depends on build-alpine
build-alpine-git:
needs: [build-alpine, unpack-alpine]
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: alpine-git
dockerfile: images/alpine/git/Dockerfile
Expand All @@ -48,7 +49,7 @@ jobs:
# Build alpine/git/gke-aws-auth image that depends on build-alpine-git
build-alpine-git-gke-aws-auth:
needs: [build-alpine, unpack-alpine]
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: alpine-git-gke-aws-auth
dockerfile: images/alpine/git/gke-aws-auth/Dockerfile
Expand All @@ -57,7 +58,7 @@ jobs:

# Build the base buildpack image
build-buildpack:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: buildpack
dockerfile: images/buildpack/Dockerfile
Expand All @@ -79,7 +80,7 @@ jobs:
# Build buildpack/go image that depends on build-buildpack
build-buildpack-go:
needs: [build-buildpack, unpack-buildpack]
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: buildpack-go
dockerfile: images/buildpack/go/Dockerfile
Expand All @@ -88,7 +89,7 @@ jobs:

# Build unified-agent base image
build-unified-agent:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: unified-agent
dockerfile: images/unified-agent/Dockerfile
Expand All @@ -110,7 +111,7 @@ jobs:
# Build unified-agent/go image that depends on build-unified-agent
build-unified-agent-go:
needs: [build-unified-agent, unpack-unified-agent]
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: unified-agent-go
dockerfile: images/unified-agent/go/Dockerfile
Expand All @@ -120,7 +121,7 @@ jobs:
# Build unified-agent/nodejs image that depends on build-unified-agent
build-unified-agent-nodejs:
needs: [build-unified-agent, unpack-unified-agent]
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: unified-agent-nodejs
dockerfile: images/unified-agent/nodejs/Dockerfile
Expand All @@ -130,7 +131,7 @@ jobs:
# Build unified-agent/python image that depends on build-unified-agent
build-unified-agent-python:
needs: [build-unified-agent, unpack-unified-agent]
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: unified-agent-python
dockerfile: images/unified-agent/python/Dockerfile
Expand All @@ -139,8 +140,8 @@ jobs:

# Build e2e-gcloud image
build-e2e-gcloud:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
uses: ./.github/workflows/image-builder.yml
with:
name: e2e-gcloud
dockerfile: images/e2e-gcloud/Dockerfile
context: .
context: .

0 comments on commit ac9ec7b

Please sign in to comment.