feat: Link to the release of the currently deployed version in kyma-d… #1914
This file contains hidden or 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 Web Build | |
| on: | |
| workflow_call: | |
| inputs: | |
| tag: | |
| description: "Additional tag for built images" | |
| required: true | |
| type: string | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/busola-web-build.yml" | |
| - "kyma/**" | |
| - "public/**" | |
| - "src/**" | |
| - "package.json" | |
| - "Makefile" | |
| - "Dockerfile.web" | |
| - "nginx/nginx.conf" | |
| pull_request_target: | |
| types: [opened, edited, synchronize, reopened, ready_for_review] | |
| paths: | |
| - ".github/workflows/busola-web-build.yml" | |
| - "kyma/**" | |
| - "public/**" | |
| - "src/**" | |
| - "package.json" | |
| - "Makefile" | |
| - "Dockerfile.web" | |
| - "nginx/nginx.conf" | |
| permissions: | |
| id-token: write # This is required for requesting the JWT token | |
| contents: read # This is required for actions/checkout | |
| jobs: | |
| build-web-image: | |
| uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main | |
| if: github.event.pull_request.draft == false | |
| with: | |
| name: busola-web | |
| dockerfile: Dockerfile.web | |
| tags: ${{ inputs.tag != '' && inputs.tag || 'latest' }} | |
| build-args: ${{ inputs.tag != '' && format('tag={0}', inputs.tag) || '' }} |