Update .drone.yml
This commit is contained in:
parent
88a3169322
commit
543b3742f4
25
.drone.yml
25
.drone.yml
@ -1,23 +1,8 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build_and_push
|
||||
name: default
|
||||
|
||||
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
|
||||
- name: test
|
||||
image: node:14
|
||||
commands:
|
||||
- echo "Hello, Drone CI!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user