ci(.drone.yml): 更新触发条件

- 移除了 .drone.yml 文件中的 event 触发条件
- 仅保留 branch触发条件,指定在 test 分支上触发

fix(deployment.yml): 修改镜像拉取密钥

- 在 deployment.yml 文件中,将镜像拉取密钥从 aliyun-docker-registry 更改为 nexus
This commit is contained in:
2025-04-26 17:46:49 +08:00
parent 9eefe52b66
commit 0001b1db04
2 changed files with 2 additions and 5 deletions

View File

@@ -87,7 +87,4 @@ volumes:
trigger:
branch:
- test
event:
- push
- test

View File

@@ -29,7 +29,7 @@ spec:
app: $DRONE_REPO_NAME
spec:
imagePullSecrets:
- name: aliyun-docker-registry
- name: nexus
containers:
- image: $REGISTRY/$REGISTRY_NAMESPACE/$DRONE_REPO_NAME:$DRONE_COMMIT
name: $DRONE_REPO_NAME