From 208296bab2ba1f179c82ba1247ca6011e9f40dd3 Mon Sep 17 00:00:00 2001
From: MrMeeb <mrmeeb@noreply.git.mrmeeb.stream>
Date: Mon, 29 May 2023 10:44:53 +0000
Subject: [PATCH] fix drone dependency graph

---
 .drone.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index f53cadd..8d1f2b6 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -31,6 +31,8 @@ steps:
   when:
     ref:
       - refs/heads/main
+  depends_on:
+    - get-tags
 
 - name: make-tags-release
   image: node
@@ -39,6 +41,8 @@ steps:
   when:
     ref:
       - refs/tags/**
+  depends_on:
+    - get-tags
 
   # Build containers from main branch
 - name: build-gitea
@@ -55,6 +59,9 @@ steps:
     platforms:
       - linux/arm64
       - linux/amd64
+  depends_on:
+    - make-tags
+    - make-tags-release
 
 - name: build-github
   image: thegeeklab/drone-docker-buildx
@@ -70,6 +77,9 @@ steps:
     platforms:
       - linux/arm64
       - linux/amd64
+  depends_on:
+    - make-tags
+    - make-tags-release
 
 - name: release-gitea
   image: goreleaser/goreleaser
@@ -147,6 +157,8 @@ steps:
     platforms:
       - linux/arm64
       - linux/amd64
+  depends_on:
+    - make-tags
 
 - name: build-github
   image: thegeeklab/drone-docker-buildx
@@ -162,6 +174,8 @@ steps:
     platforms:
       - linux/arm64
       - linux/amd64
+  depends_on:
+    - make-tags
 
 - name: notify
   image: plugins/slack