pleshevski.ru/old/.woodpecker.yml

20 lines
427 B
YAML
Raw Normal View History

2023-03-09 05:48:03 +03:00
when:
branch: main
2024-03-12 17:04:17 +03:00
steps:
- name: build-docker-image
2023-03-09 05:48:03 +03:00
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
2024-03-12 17:04:17 +03:00
- name: 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