From 5c065a96df2f8986f35d1d9ed321d7fddf78298a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Erik=20Hedenstr=C3=B6m?= <erik@hedenstroem.com>
Date: Fri, 27 Mar 2020 18:14:28 +0100
Subject: [PATCH] Added deps

---
 .gitlab-ci.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f2d7d1..02670c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ before_script:
 stages:
   - build
   - upload
+  - deps
 
 .build: &build
   image: gcr.io/hedenstroem-docker/gitlab-builder-go:1.14
@@ -25,7 +26,7 @@ stages:
     paths:
       - $CI_PROJECT_NAME-$CI_JOB_NAME
 
-upload:
+upload to s3:
   stage: upload
   only:
     - /^\d+[.]\d+[.]\d+$/
@@ -36,6 +37,12 @@ upload:
     - aws configure set preview.cloudfront true
     - aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/utils/$CI_PROJECT_NAME/*"
 
+gitlab-builder-base:
+  stage: deps
+  only:
+    - /^\d+[.]\d+[.]\d+$/
+  trigger: google-cloud/cloud-build/gitlab-builder-base
+
 "darwin-amd64": *build
 "linux-arm": *build
 "linux-386": *build
-- 
GitLab