fix(): Adds pipeline dependency to stop parallelism
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Elia el Lazkani 2023-07-03 00:05:28 +02:00
parent 1f0ccdffe2
commit edc81c840a

View file

@ -17,11 +17,15 @@ steps:
hugo_version: 0.84.4 hugo_version: 0.84.4
validate: true validate: true
pull: always pull: always
depends_on:
- update-submodules
- name: clean-up-images - name: clean-up-images
image: alpine image: alpine
commands: commands:
- rm -rf public/images/* - rm -rf public/images/*
depends_on:
- generate-blog
- name: test-build-container - name: test-build-container
image: plugins/docker image: plugins/docker
@ -37,6 +41,8 @@ steps:
purge: false purge: false
tags: tags:
- "${DRONE_COMMIT_SHA:0:8}" - "${DRONE_COMMIT_SHA:0:8}"
depends_on:
- clean-up-images
- name: trivy-scan - name: trivy-scan
image: docker.io/aquasec/trivy:latest image: docker.io/aquasec/trivy:latest