You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
416 B
YAML
20 lines
416 B
YAML
when:
|
|
branch: main
|
|
|
|
pipeline:
|
|
build-docker-image:
|
|
image: plugins/docker
|
|
settings:
|
|
repo: ${ORG_REGISTRY}/${CI_REPO}
|
|
tags:
|
|
- "${CI_COMMIT_BRANCH}"
|
|
- "${CI_COMMIT_SHA:0:8}"
|
|
|
|
deploy:
|
|
image: ${ORG_REGISTRY}/drone_plugins/docker_stack
|
|
pull: true
|
|
environment:
|
|
PLESHEVSKI_IMAGE: ${ORG_REGISTRY}/${CI_REPO}:${CI_COMMIT_SHA:0:8}
|
|
settings:
|
|
name: pleshevski
|