23 lines
436 B
YAML
23 lines
436 B
YAML
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 |