This commit is contained in:
parent
39b5a3faaf
commit
bce036168c
12
.drone.yml
12
.drone.yml
@ -3,15 +3,17 @@ type: kubernetes
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: generate_tags
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- echo -n "${DRONE_BRANCH}-$(date +'%Y%m%d%H%M%S')-${DRONE_COMMIT:0:10}, latest" > .tags
|
||||||
|
|
||||||
|
- name: publish_docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: gitea.va.reichard.io
|
|
||||||
repo: gitea.va.reichard.io/reichard/docs
|
repo: gitea.va.reichard.io/reichard/docs
|
||||||
|
registry: gitea.va.reichard.io
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
- ${DRONE_COMMIT}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user