From 02f1e553540716e1e424c192c0361cbd77b1f161 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 4 Jan 2021 11:15:12 -0500 Subject: [PATCH] fetch git submodules. --- .drone.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1181210d..d5d95520 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,13 +57,12 @@ platform: steps: - - name: create docker tags + - name: fetch git submodules image: node:14-alpine commands: - - echo "$(git describe),latest" > .tags - when: - ref: - - refs/tags/* + - apk add git + - git submodule init + - git submodule update --recursive --remote - name: try to make a build image: plugins/docker @@ -72,4 +71,13 @@ steps: repo: dessalines/lemmy-ui #when: # ref: - # - refs/tags/* \ No newline at end of file + # - refs/tags/* + + - name: create docker tags + image: node:14-alpine + commands: + - echo "$(git describe),latest" > .tags + when: + ref: + - refs/tags/* +