Skip to content

Commit fd3a0d2

Browse files
committed
Align Aliyun registry secret names
1 parent 50b5fa9 commit fd3a0d2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)