fetch git submodules.

This commit is contained in:
Dessalines 2021-01-04 11:15:12 -05:00
parent f8a05ea0f0
commit 02f1e55354
1 changed files with 14 additions and 6 deletions

View File

@ -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/*
# - refs/tags/*
- name: create docker tags
image: node:14-alpine
commands:
- echo "$(git describe),latest" > .tags
when:
ref:
- refs/tags/*