Add Drone CI pipeline
This commit is contained in:
parent
15c2b01093
commit
08168e1785
23
.drone.yml
Normal file
23
.drone.yml
Normal file
@ -0,0 +1,23 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build_and_push
|
||||
|
||||
steps:
|
||||
- name: build_docker_image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: adminsoftwarecraft/opengis
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT_SHA}
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
dockerfile: Dockerfile
|
||||
build_args:
|
||||
- NODE_ENV=production
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
Loading…
x
Reference in New Issue
Block a user