init
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
commit
7bf2e3d12c
@ -0,0 +1,22 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
platform:
|
||||||
|
arch: amd64
|
||||||
|
os: linux
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: composer:2.0.14
|
||||||
|
commands:
|
||||||
|
- composer config repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||||
|
- composer install
|
||||||
|
# - name: publish
|
||||||
|
# image: plugins/docker:19.03.8
|
||||||
|
# environment:
|
||||||
|
# PLUGIN_REGISTRY: 10.10.14.176:5000
|
||||||
|
# PLUGIN_REPO: 10.10.14.176:5000/net5/example
|
||||||
|
# settings:
|
||||||
|
# insecure: true
|
||||||
|
# tags:
|
||||||
|
# - latest
|
||||||
|
# - ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}
|
@ -0,0 +1,4 @@
|
|||||||
|
FROM php:7.4-cli
|
||||||
|
COPY . /usr/src/myapp
|
||||||
|
WORKDIR /usr/src/myapp
|
||||||
|
CMD [ "php", "./your-script.php" ]
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"require": {
|
||||||
|
"monolog/monolog": "2.0.*"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue