Skip to content

Commit

Permalink
update ingest-api build step
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphl committed Jan 25, 2024
1 parent a3435e7 commit beac758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-depth: 800
- name: Build and push
uses: ./.github/actions/docker-custom-build-and-push
with:
Expand Down
2 changes: 1 addition & 1 deletion docker/ingest-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt update && apt install -y build-essential python3-dev
# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim as base
FROM openjdk:8 as prod-build
COPY . /datahub-src
RUN cd /datahub-src && ./gradlew :metadata-events:mxe-schemas:build
RUN cd /datahub-src && ./gradlew :metadata-ingestion:codegen

FROM base as prod-codegen
COPY --from=prod-build /datahub-src /datahub-src
Expand Down

0 comments on commit beac758

Please sign in to comment.