add development and production targets; run phpunit in container
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
2a0af653cb
commit
9095a604a2
5 changed files with 23 additions and 8 deletions
|
|
@ -29,13 +29,13 @@ steps:
|
|||
commands:
|
||||
- composer install --no-progress --no-interaction --no-dev --optimize-autoloader
|
||||
|
||||
- name: build image
|
||||
- name: build production image
|
||||
image: docker
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker build -t notecat:latest .
|
||||
- docker build --target production -t notecat:latest .
|
||||
|
||||
- name: deploy on testing
|
||||
image: docker/compose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue