From 59ac5ec8c03cb49e3d428872b3ae62a1ba62e051 Mon Sep 17 00:00:00 2001 From: sealday Date: Fri, 19 Jul 2024 10:35:44 +0800 Subject: [PATCH] fix: docker (#1354) Co-authored-by: sealday Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1354 --- .gitea/workflows/build-docker.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-docker.yaml b/.gitea/workflows/build-docker.yaml index d673531ec..63cc44f08 100644 --- a/.gitea/workflows/build-docker.yaml +++ b/.gitea/workflows/build-docker.yaml @@ -5,16 +5,23 @@ on: tags: - 'release-*' +env: + npm_config_registry: ${{ vars.REGISTRY_URL }} + jobs: docker: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Node.js + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 8.15.5 + - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.12.0 registry-url: ${{ vars.REGISTRY_URL }} cache: 'pnpm' - name: Set up Docker Buildx