Skip to content

Docker Build Main and Deploy to Workshops #101

Docker Build Main and Deploy to Workshops

Docker Build Main and Deploy to Workshops #101

Workflow file for this run

name: Docker Build Main and Deploy to Testing
on:
workflow_run:
workflows: [ 'Run Tests' ]
branches: [ main ]
types: [ completed ]
jobs:
build-unstable:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: mlibrary/platform-engineering-workflows/.github/workflows/build-unstable.yml@v1
with:
image_name: ${{ vars.IMAGE_NAME }}
tag: ${{ github.sha }}
dockerfile: Dockerfile
secrets: inherit
deploy-aim-workshop:
needs: build-unstable
name: Deploy to AIM workshop
environment: aim
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1

Check failure on line 23 in .github/workflows/build-main.yaml

View workflow run for this annotation

GitHub Actions / Docker Build Main and Deploy to Testing

Invalid workflow file

The workflow is not valid. .github/workflows/build-main.yaml (Line: 23, Col: 5): Unexpected value 'uses' .github/workflows/build-main.yaml (Line: 24, Col: 5): Unexpected value 'with'
with:
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-workshop:
needs: build-unstable
name: Deploy to search workshop
environment: search
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
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