Compare commits
1 commit
4c5d642dcc
...
3dcd218801
| Author | SHA1 | Date | |
|---|---|---|---|
| 3dcd218801 |
1 changed files with 19 additions and 3 deletions
22
.drone.yml
22
.drone.yml
|
|
@ -12,6 +12,21 @@ trigger:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-publish-container
|
- name: build-and-publish-container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: git.local-it.org
|
||||||
|
repo: git.local-it.org/ci-builder/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
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: git.local-it.org
|
registry: git.local-it.org
|
||||||
|
|
@ -22,9 +37,10 @@ steps:
|
||||||
from_secret: DRONE_REGISTRY_TOKEN
|
from_secret: DRONE_REGISTRY_TOKEN
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA:0:8}
|
||||||
auto_tag: true
|
when:
|
||||||
auto_tag_suffix: linux-amd64
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue