Trying to use plugins/docker image to build Docker image.
This commit is contained in:
parent
5c8d2b0035
commit
84cd13f1a6
33
.drone.yml
33
.drone.yml
|
@ -3,14 +3,25 @@ type: docker
|
||||||
name: build-app
|
name: build-app
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-deps
|
# TODO: prepare image with necessary extensions
|
||||||
image: 'composer:2.3'
|
# - name: build-deps
|
||||||
environment:
|
# image: 'composer:2.3'
|
||||||
APP_ENV: dev
|
# environment:
|
||||||
commands:
|
# APP_ENV: dev
|
||||||
- composer install --no-progress --no-interaction --optimize-autoloader
|
# commands:
|
||||||
- bin/console about
|
# - composer install --no-progress --no-interaction --optimize-autoloader
|
||||||
- 'bin/console lint:container'
|
# - bin/console about
|
||||||
- 'bin/console lint:twig'
|
# - 'bin/console lint:container'
|
||||||
- 'bin/console lint:container'
|
# - 'bin/console lint:twig'
|
||||||
- 'bin/console lint:yaml'
|
# - 'bin/console lint:container'
|
||||||
|
# - 'bin/console lint:yaml'
|
||||||
|
- name: docker-build
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_token
|
||||||
|
repo:
|
||||||
|
from_secret: docker_repo
|
||||||
|
tags: latest
|
||||||
|
|
Loading…
Reference in a new issue