|
@@ -16,7 +16,7 @@ steps:
|
|
|
#dockerfile: Dockerfile
|
|
|
repo: harbor.sxidc.com/fs/${DRONE_REPO_NAME//_/-}
|
|
|
registry: harbor.sxidc.com
|
|
|
- tags: ${DRONE_BUILD_NUMBER}
|
|
|
+ tags: ${DRONE_COMMIT_BRANCH/master/latest}-${DRONE_BUILD_NUMBER}
|
|
|
username:
|
|
|
from_secret: harbor_username
|
|
|
password:
|
|
@@ -30,7 +30,7 @@ steps:
|
|
|
repo_namespace: ywzx
|
|
|
repo_name: ${DRONE_REPO_NAME//_/-}
|
|
|
yaml: ./deployment-app.yaml
|
|
|
- image_addr: harbor.sxidc.com/fs/${DRONE_REPO_NAME//_/-}:${DRONE_BUILD_NUMBER}
|
|
|
+ image_addr: harbor.sxidc.com/fs/${DRONE_REPO_NAME//_/-}:${DRONE_COMMIT_BRANCH/master/latest}-${DRONE_BUILD_NUMBER}
|
|
|
kubeconfig:
|
|
|
from_secret: test_kubeconfig
|
|
|
|