Merge pull request #35 from toeverything/chore/change-docker-name

chore: change docker name
This commit is contained in:
zuomeng wang 2022-10-19 19:53:20 +08:00 committed by GitHub
commit c405523a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
name: Build With Module Resolve name: Build Community Version
on: on:
push: push:
@ -32,8 +32,6 @@ jobs:
with: with:
node-version: 18.x node-version: 18.x
cache: 'pnpm' cache: 'pnpm'
- run: node scripts/module-resolve/ci.js
- name: Restore cache - name: Restore cache
uses: actions/cache@v3 uses: actions/cache@v3
@ -47,7 +45,7 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}- ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install dependencies - name: Install dependencies
run: pnpm install --no-frozen-lockfile run: pnpm install
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}
@ -82,7 +80,7 @@ jobs:
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-pro IMAGE_NAME: ${{ github.repository }}-community
IMAGE_TAG: canary-${{ github.sha }} IMAGE_TAG: canary-${{ github.sha }}
IMAGE_TAG_LATEST: nightly-latest IMAGE_TAG_LATEST: nightly-latest

View File

@ -32,6 +32,8 @@ jobs:
with: with:
node-version: 18.x node-version: 18.x
cache: 'pnpm' cache: 'pnpm'
- run: node scripts/module-resolve/ci.js
- name: Restore cache - name: Restore cache
uses: actions/cache@v3 uses: actions/cache@v3
@ -45,7 +47,7 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}- ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install --no-frozen-lockfile
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}