diff --git a/.drone.yml b/.drone.yml index b7f9d2c..5613586 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,5 +1,5 @@ kind: pipeline -type: docker +type: kubernetes name: build-and-push trigger: @@ -11,12 +11,13 @@ trigger: steps: - name: build-and-push - image: plugins/docker - settings: - repo: 192.168.68.11:30500/invest-api - registry: 192.168.68.11:30500 - insecure: true - tags: - - ${DRONE_COMMIT_SHA:0:8} - - latest - dockerfile: Dockerfile + image: gcr.io/kaniko-project/executor:debug + commands: + - > + /kaniko/executor + --context=/drone/src + --dockerfile=Dockerfile + --destination=192.168.68.11:30500/invest-api:${DRONE_COMMIT_SHA:0:8} + --destination=192.168.68.11:30500/invest-api:latest + --insecure + --skip-tls-verify