initial commit
This commit is contained in:
25
.drone.yml
Normal file
25
.drone.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
kind: pipeline
|
||||
name: build-and-deploy
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: node:latest
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: git_username
|
||||
PASSWORD:
|
||||
from_secret: git_password
|
||||
commands:
|
||||
- npm install
|
||||
- node -v
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.dinawo.fr
|
||||
repo: git.dinawo.fr/drone/cdn-app-website-presentation
|
||||
tags: latest
|
||||
username:
|
||||
from_secret: git_username
|
||||
password:
|
||||
from_secret: git_password
|
||||
Reference in New Issue
Block a user