AppReports/.drone.yml

18 lines
375 B
YAML
Raw Permalink Normal View History

2020-08-22 10:43:35 +02:00
kind: pipeline
name: default
steps:
- name: version
image: alpine
commands:
2020-08-24 21:25:51 +02:00
- sed -i 's/module\.exports.*//' version.js
2020-08-24 21:27:18 +02:00
- echo "module.exports = '$(date)';" >> version.js
2020-08-22 10:43:35 +02:00
- name: docker build
image: plugins/docker
settings:
repo: registry:5000/appreports
2020-08-22 10:48:54 +02:00
registry: registry:5000
2020-08-22 10:43:35 +02:00
dockerfile: dockerfile
insecure: true