feature/docker #3
1 changed files with 24 additions and 7 deletions
31
.drone.yml
31
.drone.yml
|
@ -19,7 +19,7 @@ steps:
|
||||||
branch:
|
branch:
|
||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
# - feature/*
|
- feature/*
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: maven:3.8-openjdk-18-slim
|
image: maven:3.8-openjdk-18-slim
|
||||||
environment:
|
environment:
|
||||||
|
@ -43,12 +43,29 @@ steps:
|
||||||
repo: gittr.ch/java/labyrinth
|
repo: gittr.ch/java/labyrinth
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_SEMVER}
|
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
# auto_tag: true
|
|
||||||
# auto_tag_suffix: "-ci"
|
|
||||||
debug: true
|
|
||||||
launch_debug: true
|
|
||||||
when:
|
when:
|
||||||
branch:
|
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