Skip to content

Commit

Permalink
fix(cicd): add submodule into docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Apr 11, 2021
1 parent 4a2fbae commit 084c430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/force-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 084c430

Please sign in to comment.