ทดสอบการทำงาน CI pipeline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
74bd01a351
commit
dd2aef016c
24
.drone.yml
24
.drone.yml
@ -1,23 +1,9 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build_and_push
|
||||
name: test-pipeline
|
||||
|
||||
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: say-hello
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "Hello from Drone CI!"
|
||||
Loading…
x
Reference in New Issue
Block a user