ci: remove old drone config
[CI SKIP]
This commit is contained in:
parent
044845f09b
commit
68d33bc81b
1 changed files with 0 additions and 53 deletions
53
.drone.yml
53
.drone.yml
|
@ -1,53 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- promote
|
|
||||||
- rollback
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-docker-image
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: org_registry_username
|
|
||||||
password:
|
|
||||||
from_secret: org_registry_password
|
|
||||||
registry: ${ORG_REGISTRY}
|
|
||||||
repo: ${ORG_REGISTRY}/${DRONE_REPO}
|
|
||||||
tags:
|
|
||||||
- ${DRONE_COMMIT_SHA:0:8}
|
|
||||||
- ${DRONE_TARGET_BRANCH}
|
|
||||||
|
|
||||||
- name: deploy
|
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- success
|
|
||||||
image: registry.pleshevski.ru/drone_plugins/docker_stack
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run/docker.sock
|
|
||||||
environment:
|
|
||||||
PLESHEVSKI_IMAGE: ${ORG_REGISTRY}/${DRONE_REPO}:${DRONE_COMMIT_SHA:0:8}
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: org_registry_username
|
|
||||||
password:
|
|
||||||
from_secret: org_registry_password
|
|
||||||
name: 'pleshevski'
|
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- org_docker_config
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
host:
|
|
||||||
path: /var/run/docker.sock
|
|
Loading…
Reference in a new issue