diff --git a/.drone.yml b/.drone.yml index 72f758b..a3bf9ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,6 +33,8 @@ steps: commands: - composer install --no-scripts --no-interaction - composer update --with-all-dependencies --no-interaction chill-project/chill-bundles + depends_on: + - build-base-image - name: build-assets image: node:14 @@ -40,6 +42,8 @@ steps: commands: - yarn install - yarn run encore production + depends_on: + - composer-install - name: build-image-php image: plugins/docker @@ -56,6 +60,9 @@ steps: cache_from: - h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest - chill/base-image:latest + depends_on: + - build-assets + - composer-install - name: build-image-nginx image: plugins/docker @@ -70,3 +77,5 @@ steps: tag: - ${DRONE_TAG} Dockerfile: docker/nginx/Dockerfile + depends_on: + - build-assets