Skip to content

Manual Deploy to Workshop #10

Manual Deploy to Workshop

Manual Deploy to Workshop #10

name: Manual Deploy to Workshop
on:
workflow_dispatch:
inputs:
tag:
description: tag
required: true
jobs:
build-unstable:
uses: mlibrary/platform-engineering-workflows/.github/workflows/build-unstable.yml@v1
with:
image_name: ${{ vars.IMAGE_NAME }}
tag: ${{ github.event.inputs.tag }}
dockerfile: Dockerfile
secrets: inherit
deploy-aim-image:
needs: build-unstable
name: Deploy to aim-workshop
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@add-environment-to-deploy
with:
environment: aim
image: ${{ needs.build-unstable.outputs.image }}
file: environments/alma-events/workshop/web-image.txt
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
CONFIG_REPO_RW_INSTALL_ID: ${{ vars.CONFIG_REPO_RW_INSTALL_ID }}
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
secrets: inherit
#deploy-search-image:
#needs: build-unstable
#name: Deploy to search-workshop
#uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@add-environment-to-deploy
#with:
#environment: search
#image: ${{ needs.build-unstable.outputs.image }}
#file: environments/alma-events/workshop/web-image.txt
#CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
#CONFIG_REPO_RW_INSTALL_ID: ${{ vars.CONFIG_REPO_RW_INSTALL_ID }}
#CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
#secrets: inherit