Build catalogue-api image #180
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: Build catalogue-api image | |
on: | |
workflow_dispatch: | |
inputs: | |
deployment_branch: | |
description: 'Deployment branch' | |
required: true | |
default: 'main' | |
build_mode: | |
type: choice | |
description: Build mode | |
options: | |
- dev | |
- stable | |
image_tag: | |
description: 'Image tag' | |
required: true | |
default: 'latest' | |
workflow_run: | |
workflows: | |
- ecmwf-projects/cads-build-farm/build-images.yml | |
types: [requested] | |
jobs: | |
build_catalogue_api: | |
name: Build catalogue-api:${{ inputs.image_tag }} from ${{ inputs.build_mode }} | |
uses: ecmwf-projects/cads-build-farm/.github/workflows/build-cads-image.yml@main | |
with: | |
image_name: catalogue-api | |
deployment_branch: ${{ inputs.deployment_branch }} | |
build_mode: ${{ inputs.build_mode }} | |
image_tag: ${{ inputs.image_tag }} | |
secrets: inherit |