Skip to content

Commit

Permalink
add backup and restore build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
francesconazzaro committed Jan 2, 2024
1 parent bb6f194 commit 4ac903a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-backup-restore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build backup-restore 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_backup_restore:
name: Build backup-restore:${{ inputs.image_tag }} from ${{ inputs.build_mode }}
uses: ecmwf-projects/cads-build-farm/.github/workflows/build-cads-image.yml@main
with:
image_name: backup-restore
deployment_branch: ${{ inputs.deployment_branch }}
build_mode: ${{ inputs.build_mode }}
image_tag: ${{ inputs.image_tag }}
secrets: inherit

0 comments on commit 4ac903a

Please sign in to comment.