This commit is contained in:
parent
39b5a3faaf
commit
bce036168c
12
.drone.yml
12
.drone.yml
@ -3,15 +3,17 @@ type: kubernetes
|
||||
name: default
|
||||
|
||||
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
|
||||
settings:
|
||||
registry: gitea.va.reichard.io
|
||||
repo: gitea.va.reichard.io/reichard/docs
|
||||
registry: gitea.va.reichard.io
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT}
|
||||
|
Loading…
Reference in New Issue
Block a user