pleshevski.ru/.woodpecker.yml

20 lines
416 B
YAML
Raw Normal View History

2023-03-09 05:48:03 +03:00
when:
branch: main
pipeline:
build-docker-image:
image: plugins/docker
settings:
2023-03-11 09:09:30 +03:00
repo: ${ORG_REGISTRY}/${CI_REPO}
tags:
2023-05-03 18:14:19 +03:00
- "${CI_COMMIT_BRANCH}"
- "${CI_COMMIT_SHA:0:8}"
2023-03-09 05:48:03 +03:00
deploy:
2023-03-11 09:09:30 +03:00
image: ${ORG_REGISTRY}/drone_plugins/docker_stack
2023-03-09 05:48:03 +03:00
pull: true
environment:
2023-03-11 09:09:30 +03:00
PLESHEVSKI_IMAGE: ${ORG_REGISTRY}/${CI_REPO}:${CI_COMMIT_SHA:0:8}
2023-03-09 05:48:03 +03:00
settings:
name: pleshevski