28 lines
680 B
YAML
28 lines
680 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: build-app
|
|
|
|
steps:
|
|
# 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
|