This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -28,19 +28,9 @@ steps:
|
||||
environment:
|
||||
DOCKER_CONFIG:
|
||||
from_secret: docker_config
|
||||
commands:
|
||||
- >-
|
||||
--context .
|
||||
--dockerfile Dockerfile
|
||||
--destination ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA}
|
||||
--verbosity debug
|
||||
resources:
|
||||
requests:
|
||||
memory: 1Gi
|
||||
cpu: 0.5
|
||||
limits:
|
||||
memory: 4Gi
|
||||
cpu: 2
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
destination: ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA}
|
||||
|
||||
- name: dev-deploy
|
||||
image: ccr.ccs.tencentyun.com/violin/kubectl:latest
|
||||
|
||||
Reference in New Issue
Block a user