Deploy Staging on Release #3
Workflow file for this run
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 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 GitHub Actions / Deploy Staging on ReleaseInvalid workflow file
Check failure on line 15 in .github/workflows/deploy-staging.yml GitHub Actions / Deploy Staging on ReleaseInvalid workflow file
Check failure on line 15 in .github/workflows/deploy-staging.yml GitHub Actions / Deploy Staging on ReleaseInvalid workflow file
|
||
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 |