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
33f2f108
authored
Aug 09, 2026
by
Archer
Committed by
GitHub
Aug 09, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(docs): publish deployment images to GHCR (#7482)
parent
56fec79a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
.github/workflows/build-docs.yml
+7
-7
No files found.
.github/workflows/build-docs.yml
View file @
33f2f108
...
@@ -97,17 +97,17 @@ jobs:
...
@@ -97,17 +97,17 @@ jobs:
with
:
with
:
# list of Docker images to use as base name for tags
# list of Docker images to use as base name for tags
images
:
|
images
:
|
${{ secrets.FASTGPT_ALI_IMAGE_PREFIX
}}/fastgpt-docs
ghcr.io/${{ github.repository_owner
}}/fastgpt-docs
tags
:
|
tags
:
|
${{ matrix.domain_config.suffix }}-${{ needs.generate-timestamp.outputs.datetime }}
${{ matrix.domain_config.suffix }}-${{ needs.generate-timestamp.outputs.datetime }}
flavor
:
latest=false
flavor
:
latest=false
-
name
:
Login to
Aliyun
-
name
:
Login to
GitHub Container Registry
uses
:
docker/login-action@v3
uses
:
docker/login-action@v3
with
:
with
:
registry
:
registry.cn-hangzhou.aliyuncs.com
registry
:
ghcr.io
username
:
${{
secrets.FASTGPT_ALI_IMAGE_USER
}}
username
:
${{
github.actor
}}
password
:
${{ secrets.
FASTGPT_ALI_IMAGE_PSW
}}
password
:
${{ secrets.
GITHUB_TOKEN
}}
-
name
:
Prepare Docker workspace catalog
-
name
:
Prepare Docker workspace catalog
run
:
cp pnpm-workspace.yaml document/pnpm-workspace.yaml
run
:
cp pnpm-workspace.yaml document/pnpm-workspace.yaml
...
@@ -169,8 +169,8 @@ jobs:
...
@@ -169,8 +169,8 @@ jobs:
-
name
:
Update deployment image
-
name
:
Update deployment image
run
:
|
run
:
|
kubectl set image deployment/${{ matrix.domain_config.deployment }} ${{ matrix.domain_config.deployment }}=
${{ secrets.FASTGPT_ALI_IMAGE_PREFIX
}}/fastgpt-docs:${{ matrix.domain_config.suffix }}-${{ needs.generate-timestamp.outputs.datetime }}
kubectl set image deployment/${{ matrix.domain_config.deployment }} ${{ matrix.domain_config.deployment }}=
ghcr.io/${{ github.repository_owner
}}/fastgpt-docs:${{ matrix.domain_config.suffix }}-${{ needs.generate-timestamp.outputs.datetime }}
-
name
:
Annotate deployment
-
name
:
Annotate deployment
run
:
|
run
:
|
kubectl annotate deployment/${{ matrix.domain_config.deployment }} originImageName="
${{ secrets.FASTGPT_ALI_IMAGE_PREFIX
}}/fastgpt-docs:${{ matrix.domain_config.suffix }}-${{ needs.generate-timestamp.outputs.datetime }}" --overwrite
kubectl annotate deployment/${{ matrix.domain_config.deployment }} originImageName="
ghcr.io/${{ github.repository_owner
}}/fastgpt-docs:${{ matrix.domain_config.suffix }}-${{ needs.generate-timestamp.outputs.datetime }}" --overwrite
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