blog/.drone.yml

20 lines
459 B
YAML
Raw Permalink Normal View History

2023-04-25 20:31:43 +00:00
kind: pipeline
2023-04-25 20:38:23 +00:00
type: kubernetes
2023-04-25 20:42:31 +00:00
name: default
2023-04-25 20:31:43 +00:00
steps:
2023-04-26 13:09:16 +00:00
- 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
2023-04-26 00:07:21 +00:00
image: plugins/docker
settings:
repo: gitea.va.reichard.io/reichard/docs
2023-04-26 13:09:16 +00:00
registry: gitea.va.reichard.io
2023-04-26 00:07:21 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password