Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/semantic-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
chart_path: chart/gateway-medcat/Chart.yaml
secrets: inherit

setup-prod:
setup:
runs-on: ubuntu-latest
environment: prod
environment: release
outputs:
docker_build_args: ${{ steps.args.outputs.docker_build_args }}
steps:
- uses: actions/checkout@v6

- name: Read BASE IMAGE VERSION file
id: getappversion
run: |
Expand All @@ -29,11 +31,12 @@ jobs:
ARGS+="--build-arg MEDCAT_BASE_IMAGE_VERSION=${{ steps.getappversion.outputs.appversion }} "
echo "docker_build_args=$ARGS" >> "$GITHUB_OUTPUT"

build-prod:
needs: setup-prod
build:
needs: setup
uses: HDRUK/github-actions-templates/.github/workflows/docker-build.yaml@main
with:
environment: prod
docker_build_args: ${{ needs.setup-prod.outputs.docker_build_args }}
environment: release
docker_build_args: ${{ needs.setup.outputs.docker_build_args }}
chart_path: chart/gateway-medcat/Chart.yaml
secrets: inherit
download_models: true
secrets: inherit
Loading