From 084c43005e53a1f34e1fce663894e8c0fdc248ea Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Sun, 11 Apr 2021 20:11:35 +0800 Subject: [PATCH] fix(cicd): add submodule into docker images --- .github/workflows/force-docker-build.yml | 1 + .github/workflows/tag.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/force-docker-build.yml b/.github/workflows/force-docker-build.yml index e50a1315102da..abf0e186776e1 100644 --- a/.github/workflows/force-docker-build.yml +++ b/.github/workflows/force-docker-build.yml @@ -31,6 +31,7 @@ jobs: - uses: actions/checkout@v2 with: ref: "v${{ github.event.inputs.git_tag }}" + submodules: true # this job build devel image, devel image includes hub submodule - name: Set envs and versions run: | JINA_VERSION=${{ github.event.inputs.git_tag }} diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index eb2a1fd43d4b1..aecf51ddcaa24 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -122,6 +122,8 @@ jobs: tag_pyversion: ["-py37", "-py38", "-py39"] steps: - uses: actions/checkout@v2 + with: + submodules: true # this job build devel image, devel image includes hub submodule - name: Set envs and versions run: | echo "VCS_REF=$(git rev-parse --short HEAD)" >> $GITHUB_ENV