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