ทดสอบการทำงาน 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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build_and_push
|
name: test-pipeline
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build_docker_image
|
- name: say-hello
|
||||||
image: plugins/docker
|
image: alpine
|
||||||
settings:
|
commands:
|
||||||
repo: adminsoftwarecraft/opengis
|
- echo "Hello from Drone CI!"
|
||||||
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