Deploy Prod Relay #18
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: 'Deploy Prod Relay' | |
on: | |
workflow_dispatch: | |
inputs: | |
relay_name: | |
description: The docker image tag to deploy | |
required: true | |
type: choice | |
options: | |
- relay-0 | |
- relay-1 | |
- relay-2 | |
image_tag: | |
description: The docker image tag to deploy | |
required: true | |
type: string | |
jobs: | |
deploy-relay: | |
runs-on: ubuntu-latest | |
name: Deploy Relay - Prod | |
steps: | |
- name: Trigger relay deploy job | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.CHARON_K8S_REPO_ACCESS_TOKEN }} | |
repository: ObolNetwork/obol-infrastructure | |
event-type: relay-prod-deployment | |
client-payload: '{"relay_name": "${{ inputs.relay_name }}","relay_version": "${{ inputs.image_tag }}"}' |