Skip to content

Deploy Staging on Release #3

Deploy Staging on Release

Deploy Staging on Release #3

Workflow file for this run

name: Deploy Staging on Release
on:
release:
types: [ released ]
jobs:
build-staging:
name: Build staging ${{ github.event.release.tag_name }}
uses: mlibrary/platform-engineering-workflows/.github/workflows/build-production.yml@v1
with:
image_name: ${{ vars.IMAGE_NAME }}
tag: ${{ github.event.release.tag_name }}
dockerfile: ./lauth/Dockerfile
target: production

Check failure on line 15 in .github/workflows/deploy-staging.yml

View workflow run for this annotation

GitHub Actions / Deploy Staging on Release

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-staging.yml (Line: 15, Col: 15): Invalid input, target is not defined in the referenced workflow.

Check failure on line 15 in .github/workflows/deploy-staging.yml

View workflow run for this annotation

GitHub Actions / Deploy Staging on Release

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-staging.yml (Line: 15, Col: 15): Invalid input, target is not defined in the referenced workflow.

Check failure on line 15 in .github/workflows/deploy-staging.yml

View workflow run for this annotation

GitHub Actions / Deploy Staging on Release

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-staging.yml (Line: 15, Col: 15): Invalid input, target is not defined in the referenced workflow.
secrets: inherit
deploy-staging:
needs: build-staging
name: Deploy to staging
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.release.tag_name }}
file: environments/lauth/staging/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