From 5a9829ae506f2a9f6ebbfe586e746befc15b888e Mon Sep 17 00:00:00 2001 From: WangJunZzz <510423039@qq.com> Date: Thu, 18 Apr 2024 20:30:27 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=B0=83=E6=95=B4node=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0c1c5bd3..b195fd14 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -42,10 +42,10 @@ jobs: runs-on: ubuntu-latest needs: api steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - persist-credentials: false + node-version: 18.12 - name: Setting Version id: vars @@ -64,8 +64,9 @@ jobs: # build 并且 push docker 镜像 - name: Push Vue3 Image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v2 with: + node-version: "18.12" context: vben28 push: true tags: zzzwangjun/lion.abp.pro.vben28:${{ steps.vars.outputs.RELEASE_VERSION }}