context
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
6ad88b13e3
commit
a44edb27ce
16
.drone.yml
16
.drone.yml
|
@ -4,20 +4,21 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: backend
|
- name: backend
|
||||||
image: composer
|
image: composer:2.1.14
|
||||||
commands:
|
commands:
|
||||||
- cd backend && composer install
|
- cd backend && composer install
|
||||||
|
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: node
|
image: node:16.13.1
|
||||||
commands:
|
commands:
|
||||||
- cd frontend && npm install && npm run build
|
- cd frontend && npm install && npm run build
|
||||||
|
|
||||||
- name: build-docker-image
|
- name: build-docker-image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
context: docker/
|
||||||
|
dockerfile: Dockerfile
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
dockerfile: docker/Dockerfile
|
|
||||||
repo: https://registry.xrg.io/salvarez/xrg.es
|
repo: https://registry.xrg.io/salvarez/xrg.es
|
||||||
registry: https://registry.xrg.io
|
registry: https://registry.xrg.io
|
||||||
username:
|
username:
|
||||||
|
@ -27,12 +28,3 @@ steps:
|
||||||
#when:
|
#when:
|
||||||
# event:
|
# event:
|
||||||
# - tag
|
# - tag
|
||||||
|
|
||||||
- name: discord notification
|
|
||||||
image: appleboy/drone-discord
|
|
||||||
settings:
|
|
||||||
webhook_id:
|
|
||||||
from_secret: discord_webhook_id
|
|
||||||
webhook_token:
|
|
||||||
from_secret: discord_webhook_token
|
|
||||||
username: Drone
|
|
||||||
|
|
Loading…
Reference in New Issue