File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ jobs:
3535 uses : docker/login-action@v3
3636 with :
3737 registry : ${{ secrets.ALIYUN_REGISTRY }}
38- username : ${{ secrets.ALIYUN_USERNAME }}
39- password : ${{ secrets.ALIYUN_PASSWORD }}
38+ username : ${{ secrets.ALIYUN_REGISTRY_USER }}
39+ password : ${{ secrets.ALIYUN_REGISTRY_PASSWORD }}
4040
4141 - name : Prepare tags
4242 id : tags
4343 shell : bash
4444 env :
4545 REGISTRY : ${{ secrets.ALIYUN_REGISTRY }}
46- NAMESPACE : ${{ secrets.ALIYUN_NAMESPACE }}
46+ NAMESPACE : ${{ secrets.ALIYUN_NAME_SPACE }}
4747 IMAGE : ${{ matrix.image }}
4848 IMAGE_TAG : ${{ inputs.image_tag }}
4949 run : |
Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ http://部署机IP:8080
162162| Secret | 示例 |
163163| --- | --- |
164164| ` ALIYUN_REGISTRY ` | ` registry.cn-shenzhen.aliyuncs.com ` |
165- | ` ALIYUN_NAMESPACE ` | ` your-namespace ` |
166- | ` ALIYUN_USERNAME ` | 阿里云镜像仓库用户名 |
167- | ` ALIYUN_PASSWORD ` | 阿里云镜像仓库密码或访问凭证 |
165+ | ` ALIYUN_NAME_SPACE ` | ` your-namespace ` |
166+ | ` ALIYUN_REGISTRY_USER ` | 阿里云镜像仓库用户名 |
167+ | ` ALIYUN_REGISTRY_PASSWORD ` | 阿里云镜像仓库密码或访问凭证 |
168168
169169这个 workflow 只支持手工触发。到 GitHub Actions 页面选择 ` Build and Push Images ` ,点击 ` Run workflow ` ,填写镜像 tag,默认是 ` latest ` 。
170170
You can’t perform that action at this time.
0 commit comments