fix release process
This commit is contained in:
parent
82962a2f2a
commit
160c35c0ba
1 changed files with 27 additions and 16 deletions
43
.drone.yml
43
.drone.yml
|
|
@ -219,24 +219,8 @@ trigger:
|
||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-publish-container
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
registry: git.local-it.org
|
|
||||||
repo: git.local-it.org/local-it/mitgliederverwaltung
|
|
||||||
username:
|
|
||||||
from_secret: DRONE_REGISTRY_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DRONE_REGISTRY_TOKEN
|
|
||||||
auto_tag: true
|
|
||||||
auto_tag_suffix: ${DRONE_COMMIT_SHA:0:8}
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
- name: build-and-publish-container-branch
|
- name: build-and-publish-container-branch
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
@ -256,6 +240,33 @@ steps:
|
||||||
depends_on:
|
depends_on:
|
||||||
- check-fast
|
- check-fast
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build-and-release
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-and-publish-container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: git.local-it.org
|
||||||
|
repo: git.local-it.org/local-it/mitgliederverwaltung
|
||||||
|
username:
|
||||||
|
from_secret: DRONE_REGISTRY_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DRONE_REGISTRY_TOKEN
|
||||||
|
auto_tag: true
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- check-fast
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue