fetch git submodules.

This commit is contained in:
Dessalines 2021-01-04 11:15:12 -05:00
parent f8a05ea0f0
commit 02f1e55354

View file

@ -57,13 +57,12 @@ platform:
steps: steps:
- name: create docker tags - name: fetch git submodules
image: node:14-alpine image: node:14-alpine
commands: commands:
- echo "$(git describe),latest" > .tags - apk add git
when: - git submodule init
ref: - git submodule update --recursive --remote
- refs/tags/*
- name: try to make a build - name: try to make a build
image: plugins/docker image: plugins/docker
@ -73,3 +72,12 @@ steps:
#when: #when:
# ref: # ref:
# - refs/tags/* # - refs/tags/*
- name: create docker tags
image: node:14-alpine
commands:
- echo "$(git describe),latest" > .tags
when:
ref:
- refs/tags/*