From 3a8d44b8e984112a254fd7456a05517cd6fd7400 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 23 Jul 2024 13:38:52 +0800 Subject: [PATCH] chore: github action build --- .github/workflows/build-image.yml | 6 +++--- build.trigger | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 95ae3f95..a5100cdc 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -27,7 +27,7 @@ jobs: const path = require('path'); const pnpmWorkspace = "pnpm-workspace.yaml"; - fs.removeSync(jsonFilePath) + fs.removeSync(pnpmWorkspace) const jsonFilePath = "./packages/ui/certd-server/package.json"; const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8'); @@ -53,8 +53,8 @@ jobs: uses: docker/login-action@v3 with: registry: registry.cn-shenzhen.aliyuncs.com - username: ${{ secrets.aliyun_cs_username }} - password: ${{ secrets.aliyun_cs_password }} + username: ${{ secrets.ALIYUN_CS_USERNAME }} + password: ${{ secrets.ALIYUN_CS_PASSWORD }} - name: Build and push uses: docker/build-push-action@v6.5.0 diff --git a/build.trigger b/build.trigger index 7813681f..62f94575 100644 --- a/build.trigger +++ b/build.trigger @@ -1 +1 @@ -5 \ No newline at end of file +6 \ No newline at end of file