udpate action#395
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the container image build workflow to use a new set of GitHub Secrets for logging into and tagging images for the Aliyun container registry.
Changes:
- Swaps Aliyun registry credentials secrets to
FASTGPT_ALI_IMAGE_USER/FASTGPT_ALI_IMAGE_PSW. - Swaps Aliyun image name/prefix secret to
FASTGPT_ALI_IMAGE_PREFIXfor tag construction.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| username: ${{ secrets.FASTGPT_ALI_IMAGE_USER }} | ||
| password: ${{ secrets.FASTGPT_ALI_IMAGE_PSW }} |
There was a problem hiding this comment.
These secret names changed; the workflow will fail at runtime unless the repo/org secrets FASTGPT_ALI_IMAGE_USER and FASTGPT_ALI_IMAGE_PSW are configured (and any previous secrets referenced by this workflow are no longer needed). Please confirm the secrets exist in the target environment(s) where this workflow runs.
| ALI_TAG="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-plugin:${{ github.ref_name }}" | ||
| ALI_LATEST="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-plugin:latest" | ||
| ALI_SHA="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-plugin:${{ github.sha }}" |
There was a problem hiding this comment.
ALI_TAG/ALI_LATEST/ALI_SHA are built from secrets.FASTGPT_ALI_IMAGE_PREFIX. For pushes to Aliyun, the image tag must include the registry host (e.g., registry.cn-hangzhou.aliyuncs.com/<namespace>), otherwise docker buildx imagetools create -t ... will target Docker Hub by default. Please ensure this secret is defined in that full form.
| ALI_TAG="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-plugin:${{ github.ref_name }}" | |
| ALI_LATEST="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-plugin:latest" | |
| ALI_SHA="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-plugin:${{ github.sha }}" | |
| # Ensure Aliyun image tags include the full registry host | |
| ALI_PREFIX="registry.cn-hangzhou.aliyuncs.com/${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}" | |
| ALI_TAG="$ALI_PREFIX/fastgpt-plugin:${{ github.ref_name }}" | |
| ALI_LATEST="$ALI_PREFIX/fastgpt-plugin:latest" | |
| ALI_SHA="$ALI_PREFIX/fastgpt-plugin:${{ github.sha }}" |
No description provided.