volumes
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
4cda02d30d
commit
c298daf0eb
14
.drone.yml
14
.drone.yml
|
@ -7,11 +7,17 @@ steps:
|
|||
image: composer:2.1.14
|
||||
commands:
|
||||
- cd backend && composer install
|
||||
volumes:
|
||||
- name: host_docker_sock
|
||||
path: /tmp/cache
|
||||
|
||||
- name: frontend
|
||||
image: node:16.13.1-alpine
|
||||
commands:
|
||||
- cd frontend && npm install && npm run build
|
||||
volumes:
|
||||
- name: host_docker_sock
|
||||
path: /tmp/cache
|
||||
|
||||
- name: build-docker-image
|
||||
image: plugins/docker
|
||||
|
@ -25,6 +31,14 @@ steps:
|
|||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
volumes:
|
||||
- name: host_docker_sock
|
||||
path: /tmp/cache
|
||||
#when:
|
||||
# event:
|
||||
# - tag
|
||||
|
||||
volumes:
|
||||
- name: host_docker_sock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
|
|
@ -21,5 +21,5 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
|||
COPY zz-custom-php.ini "$PHP_INI_DIR/conf.d/"
|
||||
COPY zz-custom-phpfpm.conf /usr/local/etc/php-fpm.d/zz-docker.conf
|
||||
|
||||
COPY /drone/src/frontend/build /var/www/frontend
|
||||
COPY /drone/src/backend /var/www/backend
|
||||
COPY ../frontend/build /var/www/frontend
|
||||
COPY ../backend /var/www/backend
|
||||
|
|
Loading…
Reference in New Issue