Skip to content

Merge pull request #728 from nationalarchives/upgrade-openjdk-verion #443

Merge pull request #728 from nationalarchives/upgrade-openjdk-verion

Merge pull request #728 from nationalarchives/upgrade-openjdk-verion #443

Workflow file for this run

name: TDR Tag and pre deploy
on:
push:
branches:
- master
jobs:
pre-deploy:
uses: nationalarchives/tdr-github-actions/.github/workflows/ecs_build.yml@main
with:
repo-name: tdr-consignment-api
image-name: consignment-api
build-command: |
docker build -f Dockerfile-tests -t tests .
sbt assembly
secrets:
MANAGEMENT_ACCOUNT: ${{ secrets.MANAGEMENT_ACCOUNT }}
WORKFLOW_PAT: ${{ secrets.WORKFLOW_PAT }}
AKKA_TOKEN: ${{ secrets.AKKA_TOKEN }}
deploy:
needs: pre-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: gh workflow run deploy.yml -f environment=intg -f to-deploy=${{ needs.pre-deploy.outputs.next-version }}
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_PAT }}