From 9e9c1f238eb469c790c61796df2bf05b6c2d32ea Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Mon, 30 Mar 2026 00:43:04 +0800 Subject: [PATCH] fix(ci): prepare licensed assets for image builds Generate the licensed GeoLite asset before docker/build-push-action runs so the Dockerfile can copy the licensed directory in GitHub Actions. --- .github/workflows/image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index ef0e090..12f3957 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -37,6 +37,9 @@ jobs: - name: Check out repository uses: actions/checkout@v4 + - name: Prepare licensed assets + run: node ./scripts/prepare-licensed-assets.cjs + - name: Derive image name id: vars run: echo "image_name=ghcr.io/${GITHUB_REPOSITORY,,}" >> "$GITHUB_OUTPUT"