diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f2d7d1403f72321855717e002f9c8b4f9b349b7..02670c679a46d78fd2641b266a6da85eeed95cd9 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