From 9c93e324dde89aba9d930a23db37ec393cb670bb Mon Sep 17 00:00:00 2001 From: charilezhou Date: Thu, 22 Jan 2026 18:00:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E6=B7=BB=E5=8A=A0=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E9=85=8D=E7=BD=AE=E8=A7=A3=E5=86=B3=20Node.j?= =?UTF-8?q?s=20=E7=BC=BA=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/ci.yaml | 2 ++ .gitea/workflows/deploy.yaml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 798441d..3570a7f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -13,6 +13,8 @@ jobs: build: name: Build Check runs-on: ubuntu-latest + container: + image: node:20-bookworm steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index d7a6b8f..16cf925 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,6 +15,8 @@ jobs: build-and-push: name: Build and Push Images runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest outputs: image_tag: ${{ steps.meta.outputs.tag }} steps: @@ -63,6 +65,8 @@ jobs: deploy: name: Deploy to Knative runs-on: ubuntu-latest + container: + image: node:20-bookworm needs: build-and-push steps: - name: Checkout