From e21a2a2e6c1191607c5a868db8301cec6b60ae31 Mon Sep 17 00:00:00 2001 From: Grieve Date: Wed, 3 Apr 2024 11:42:19 +0800 Subject: [PATCH] Fix missing folder copy for building image (#514) --- .github/workflows/build-dev-image.yml | 1 + .github/workflows/build-image.yml | 1 + .github/workflows/stable-release.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/build-dev-image.yml b/.github/workflows/build-dev-image.yml index bb8f48123..43f3d8483 100644 --- a/.github/workflows/build-dev-image.yml +++ b/.github/workflows/build-dev-image.yml @@ -40,6 +40,7 @@ jobs: LATEST_COMMIT=$(git log -1 --pretty=%h) cd ./docker cp ../wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./ + cp -r ../wren-sqlglot-server/ ./ docker buildx build \ --platform linux/amd64,linux/arm64 \ --tag ghcr.io/canner/wren-engine:main-${LATEST_COMMIT} \ diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index bba56db88..a3a2942d3 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -45,6 +45,7 @@ jobs: WREN_VERSION=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout) cd ./docker cp ../wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./ + cp -r ../wren-sqlglot-server/ ./ docker buildx build \ --platform linux/amd64,linux/arm64 \ --tag ghcr.io/canner/wren-engine:${{ steps.prepare_tag.outputs.tag_name }} \ diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 0d7c8e641..b8879f4b3 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -55,6 +55,7 @@ jobs: WREN_VERSION=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout) cd ./docker cp ../wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./ + cp -r ../wren-sqlglot-server/ ./ docker buildx build \ --platform linux/amd64,linux/arm64 \ --tag ghcr.io/canner/wren-engine:${{ steps.maven_prepare_release.outputs.version_number }} \