try building tag release on git tag.
This commit is contained in:
parent
305c26c215
commit
ec934134f4
1 changed files with 24 additions and 7 deletions
31
.drone.yml
31
.drone.yml
|
@ -19,7 +19,7 @@ steps:
|
|||
branch:
|
||||
include:
|
||||
- master
|
||||
# - feature/*
|
||||
- feature/*
|
||||
- name: deploy
|
||||
image: maven:3.8-openjdk-18-slim
|
||||
environment:
|
||||
|
@ -43,12 +43,29 @@ steps:
|
|||
repo: gittr.ch/java/labyrinth
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_SEMVER}
|
||||
dockerfile: docker/Dockerfile
|
||||
# auto_tag: true
|
||||
# auto_tag_suffix: "-ci"
|
||||
debug: true
|
||||
launch_debug: true
|
||||
when:
|
||||
branch:
|
||||
- feature/docker
|
||||
- master
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
- tag
|
||||
- name: build_docker_image_release
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: gittr.ch
|
||||
username: manuel
|
||||
password:
|
||||
from_secret: docker-token
|
||||
repo: gittr.ch/java/labyrinth
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
dockerfile: docker/Dockerfile
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
include:
|
||||
- tag
|
||||
|
|
Loading…
Reference in a new issue