feat: Create release process #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Busola Backend Build | |
on: | |
workflow_call: | |
inputs: | |
tag: | |
description: "Additional tag for built images" | |
required: false | |
type: string | |
# default: latest | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/busola-backend-build.yml" | |
- "backend/**" | |
- "package.json" | |
pull_request_target: | |
types: [opened, edited, synchronize, reopened, ready_for_review] | |
paths: | |
- ".github/workflows/busola-backend-build.yml" | |
- "backend/**" | |
- "package.json" | |
permissions: | |
id-token: write # This is required for requesting the JWT token | |
contents: read # This is required for actions/checkout | |
jobs: | |
build-backend-image: | |
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main | |
with: | |
name: busola-backend | |
dockerfile: Dockerfile | |
tags: ${{ inputs.tag }} |