ci(.drone.yml): 更新触发条件
- 移除了 .drone.yml 文件中的 event 触发条件 - 仅保留 branch触发条件,指定在 test 分支上触发 fix(deployment.yml): 修改镜像拉取密钥 - 在 deployment.yml 文件中,将镜像拉取密钥从 aliyun-docker-registry 更改为 nexus
This commit is contained in:
@@ -87,7 +87,4 @@ volumes:
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- test
|
||||
|
||||
event:
|
||||
- push
|
||||
- test
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user