Trying to use plugins/docker image to build Docker image.
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Alexey Skobkin 2022-07-11 02:24:50 +03:00
parent 5c8d2b0035
commit 84cd13f1a6
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -3,14 +3,25 @@ type: docker
name: build-app
steps:
- name: build-deps
image: 'composer:2.3'
environment:
APP_ENV: dev
commands:
- composer install --no-progress --no-interaction --optimize-autoloader
- bin/console about
- 'bin/console lint:container'
- 'bin/console lint:twig'
- 'bin/console lint:container'
- 'bin/console lint:yaml'
# TODO: prepare image with necessary extensions
# - name: build-deps
# image: 'composer:2.3'
# environment:
# APP_ENV: dev
# commands:
# - composer install --no-progress --no-interaction --optimize-autoloader
# - bin/console about
# - 'bin/console lint:container'
# - 'bin/console lint:twig'
# - '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