Compare commits
1 commit
3dcd218801
...
4c5d642dcc
| Author | SHA1 | Date | |
|---|---|---|---|
| 4c5d642dcc |
1 changed files with 3 additions and 19 deletions
22
.drone.yml
22
.drone.yml
|
|
@ -12,21 +12,6 @@ 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
|
||||||
|
|
@ -37,10 +22,9 @@ steps:
|
||||||
from_secret: DRONE_REGISTRY_TOKEN
|
from_secret: DRONE_REGISTRY_TOKEN
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT_SHA:0:8}
|
- ${DRONE_COMMIT_SHA}
|
||||||
when:
|
auto_tag: true
|
||||||
event:
|
auto_tag_suffix: linux-amd64
|
||||||
- push
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue