Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
69bb1f3f
authored
Jun 06, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs
parent
7a38a81e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
.github/workflows/image.yml
+3
-10
src/pages/kb/components/SelectFileModal.tsx
+1
-1
No files found.
.github/workflows/image.yml
View file @
69bb1f3f
...
...
@@ -50,7 +50,6 @@ jobs:
-t ${DOCKER_REPO_TAGGED} \
-f Dockerfile \
.
push-to-docker-hub
:
needs
:
build-images
runs-on
:
ubuntu-20.04
...
...
@@ -70,14 +69,8 @@ jobs:
echo "IMAGE_TAG=${{ github.ref_name }}" >> $GITHUB_ENV
fi
-
name
:
Pull image from GitHub Container Registry
env
:
IMAGE_TAG
:
${{ env.IMAGE_TAG }}
run
:
docker pull ghcr.io/${{ github.repository_owner }}/fastgpt:${ IMAGE_TAG }
run
:
docker pull ghcr.io/${{ github.repository_owner }}/fastgpt:${{env.IMAGE_TAG}}
-
name
:
Tag image with Docker Hub repository name and version tag
env
:
IMAGE_TAG
:
${{ env.IMAGE_TAG }}
run
:
docker tag ghcr.io/${{ github.repository_owner }}/fastgpt:${ IMAGE_TAG } ${{ secrets.DOCKER_IMAGE_NAME }}:${ IMAGE_TAG }
run
:
docker tag ghcr.io/${{ github.repository_owner }}/fastgpt:${{env.IMAGE_TAG}} ${{ secrets.DOCKER_IMAGE_NAME }}:${{env.IMAGE_TAG}}
-
name
:
Push image to Docker Hub
env
:
IMAGE_TAG
:
${{ env.IMAGE_TAG }}
run
:
docker push ${{ secrets.DOCKER_IMAGE_NAME }}:${ IMAGE_TAG }
run
:
docker push ${{ secrets.DOCKER_IMAGE_NAME }}:${{env.IMAGE_TAG}}
src/pages/kb/components/SelectFileModal.tsx
View file @
69bb1f3f
...
...
@@ -69,7 +69,7 @@ const SelectFileModal = ({
chunks
:
[]
});
const
{
openConfirm
,
ConfirmChild
}
=
useConfirm
({
content
:
`确认导入该文件,需要一定时间进行拆解,该任务无法终止!
QA 拆分仅能使用余额,如果余额不足,未完成的任务会被直接清除
。一共
${
content
:
`确认导入该文件,需要一定时间进行拆解,该任务无法终止!
如果余额不足,未完成的任务会被暂停
。一共
${
splitRes
.
chunks
.
length
}
组。
${
splitRes
.
price
?
`大约
${
splitRes
.
price
}
元。`
:
''
}
`
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment