Build and Deploy Online-Medley Docker Image #22
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
# | |
# buildAndDeployMedleyDocker.yml | |
# | |
# Top-level workflow to build and then deploy an Online-Medley docker image | |
# | |
# 2024-06-05 by Frank Halasz | |
# | |
# Copyright: 2024 by Interlisp.org | |
# | |
name: 'Build and Deploy Online-Medley Docker Image' | |
# Run this workflow on ... | |
on: | |
workflow_dispatch: | |
inputs: | |
platform: | |
type: choice | |
options: | |
- linux/amd64 | |
- linux/arm64 | |
workflow_call: | |
secrets: | |
CCRYPT_KEY: | |
required: true | |
OIO_SSH_KEY: | |
required: true | |
inputs: | |
platform: | |
description: "linux/amd64 or linux/arm64" | |
type: string | |
default: 'linux/amd64' | |
required: false | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
uses: ./.github/workflows/buildMedleyDocker.yml | |
with: | |
platform: ${{ inputs.platform }} | |
secrets: | |
CCRYPT_KEY: ${{ secrets.CCRYPT_KEY }} | |
deploy: | |
needs: build | |
uses: ./.github/workflows/deployMedleyDocker.yml | |
secrets: | |
OIO_SSH_KEY: ${{ secrets.OIO_SSH_KEY }} | |