Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
SaudM committed Jun 14, 2023
1 parent d75155b commit 5ecdcc8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- name: Set DOCKER_REPO_TAGGED based on branch or tag
run: |
if [[ "${{ github.ref_name }}" == "main" ]]; then
echo "DOCKER_REPO_TAGGED=ghcr.io/${{ github.repository_owner }}/fastgpt:latest" >> $GITHUB_ENV
echo "DOCKER_REPO_TAGGED=ghcr.io/${{ github.repository_owner }}/lmu:latest" >> $GITHUB_ENV
else
echo "DOCKER_REPO_TAGGED=ghcr.io/${{ github.repository_owner }}/fastgpt:${{ github.ref_name }}" >> $GITHUB_ENV
echo "DOCKER_REPO_TAGGED=ghcr.io/${{ github.repository_owner }}/lmu:${{ github.ref_name }}" >> $GITHUB_ENV
fi
- name: Build and publish image for main branch or tag push event
Expand All @@ -44,8 +44,8 @@ jobs:
cd client && \
docker buildx build \
--platform linux/amd64,linux/arm64 \
--label "org.opencontainers.image.source= https://github.com/ ${{ github.repository_owner }}/FastGPT" \
--label "org.opencontainers.image.description=fastgpt image" \
--label "org.opencontainers.image.source= https://github.com/ ${{ github.repository_owner }}/GPT-LUM-APP" \
--label "org.opencontainers.image.description=lmu image" \
--label "org.opencontainers.image.licenses=MIT" \
--push \
-t ${DOCKER_REPO_TAGGED} \
Expand All @@ -70,8 +70,8 @@ jobs:
echo "IMAGE_TAG=${{ github.ref_name }}" >> $GITHUB_ENV
fi
- name: Pull image from GitHub Container Registry
run: docker pull ghcr.io/${{ github.repository_owner }}/fastgpt:${{env.IMAGE_TAG}}
run: docker pull ghcr.io/${{ github.repository_owner }}/lmu:${{env.IMAGE_TAG}}
- name: Tag image with Docker Hub repository name and version tag
run: docker tag ghcr.io/${{ github.repository_owner }}/fastgpt:${{env.IMAGE_TAG}} ${{ secrets.DOCKER_IMAGE_NAME }}:${{env.IMAGE_TAG}}
run: docker tag ghcr.io/${{ github.repository_owner }}/lmu:${{env.IMAGE_TAG}} ${{ secrets.DOCKER_IMAGE_NAME }}:${{env.IMAGE_TAG}}
- name: Push image to Docker Hub
run: docker push ${{ secrets.DOCKER_IMAGE_NAME }}:${{env.IMAGE_TAG}}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ LMU AI开放平台允许你使用自己的 openai API KEY 来快速的调用 ope
- [LMU 知识库演示](https://www.bilibili.com/video/BV1Wo4y1p7i1/)

## 感谢
项目fork 的 :https://github.com/c121914yu/FastGPT ,感谢作者对项目的开源和对商业化权的开放。
[fork](https://github.com/c121914yu/FastGPT) 项目,感谢作者对项目的开源和对商业化权的开放。
目前代码和愿项目代码一致,未来在商业化上可能有所不同,该项目会对应用商店进行二次开发,底层逻辑一致,但是商业化上可能存在较大区别。

## 未来
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Layout/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const Navbar = ({ unread }: { unread: number }) => {
<Box>
<Link
as={NextLink}
href="https://github.com/c121914yu/FastGPT"
href="https://github.com/SaudM/GPT-LUM-APP"
target={'_blank'}
{...itemStyles}
color={'#9096a5'}
Expand Down
5 changes: 5 additions & 0 deletions docs/update/update-v 3.8.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1. 该版本增加的后台管理系统,所以两个系统的环境需要分开配置
2. 将admin 和 client 目录下的.env.template 修改为 .env.local
3. 如果你是升级的版本根目录的配置 .env.local 完成两个系统的环境变量配置
4. 在client 目录下输入`pnpm dev ` 启动服务
5. 在admin 目录下输入`pnpm i` 安装,然后在执行 `pnpm dev` 启动后台

0 comments on commit 5ecdcc8

Please sign in to comment.