Skip to content

1.0.0.24-rc

1.0.0.24-rc #24

Workflow file for this run

on:
release:
types: [prereleased]
jobs:
tag-builds:
runs-on: ubuntu-latest
strategy:
matrix:
component-name: [
wfprev-api,
liquibase
]
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ${{ vars.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN}}
- name: Tag relevant images
run: |
docker pull ${{vars.REGISTRY}}/${{ github.repository }}-${{ matrix.component-name }}:latest
docker tag ${{vars.REGISTRY}}/${{ github.repository }}-${{ matrix.component-name }}:latest ${{vars.REGISTRY}}/${{ github.repository }}-${{ matrix.component-name }}:${{ github.event.release.tag_name }}
docker push ${{vars.REGISTRY}}/${{ github.repository }}-${{ matrix.component-name }}:${{ github.event.release.tag_name }}
# include additional steps for DLV, PRD
# rename to deploy-wftst, rename environment to tst
deploy-wfdlv:
needs: tag-builds
if: ${{ contains(github.event.release.tag_name, '-beta') }}
uses: ./.github/workflows/terragrunt-deploy.yml
secrets: inherit
with:
DEFAULT_APPLICATION_ENVIRONMENT: wfdlv
IMAGE_TAG: ${{ github.event.release.tag_name }}
COMMAND: apply
RUN_LIQUIBASE: 'true'
GDB_EXTRACTOR_IMAGE: ${{ needs.node-build.outputs.gdb_digest }}

Check failure on line 43 in .github/workflows/prerelease.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/prerelease.yml

Invalid workflow file

The workflow is not valid. .github/workflows/prerelease.yml (Line: 43, Col: 28): Invalid input, GDB_EXTRACTOR_IMAGE is not defined in the referenced workflow.
wfprev-ui-dlv:
uses: ./.github/workflows/client-build.yml
needs: [deploy-wfdlv]
with:
DEFAULT_APPLICATION_ENVIRONMENT: wfdlv
secrets: inherit
deploy-wftst:
needs: tag-builds
if: ${{ contains(github.event.release.tag_name, '-rc') }}
uses: ./.github/workflows/terragrunt-deploy.yml
secrets: inherit
with:
DEFAULT_APPLICATION_ENVIRONMENT: wftst
IMAGE_TAG: ${{ github.event.release.tag_name }}
COMMAND: apply
RUN_LIQUIBASE: 'true'
GDB_EXTRACTOR_IMAGE: ${{ needs.node-build.outputs.gdb_digest }}
wfprev-ui-tst:
uses: ./.github/workflows/client-build.yml
needs: [deploy-wftst]
with:
DEFAULT_APPLICATION_ENVIRONMENT: wftst
secrets: inherit