Skip to content

Commit

Permalink
ci: fix release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Jan 7, 2021
1 parent a338e51 commit 5899fdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
args: 'bundle schema/jinad/schema.json -o jinad.html'
- name: push-to-api-repo
run: |
cp jinad.html schema/jinad/${{env.JINA_VERSION}}-devel.html
cp jinad.html schema/jinad/${{env.JINA_VERSION}}.html
cd schema
git config --local user.email "dev-bot@jina.ai"
git config --local user.name "Jina Dev Bot"
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
dockerfile: Dockerfiles/debianx.Dockerfile
buildargs: BUILD_DATE, VCS_REF, JINA_VERSION, INSTALL_DEV
buildoptions: ${{ matrix.build_option }}
tags: "${{ matrix.tag_prefix }}latest, ${{ matrix.tag_prefix }}${{env.JINA_VERSION}}, ${{ matrix.tag_prefix }}${{env.JINA_MINOR_VERSION}}"
tags: "${{ matrix.tag_prefix }}devel, ${{ matrix.tag_prefix }}${{env.JINA_VERSION}}"
- name: Upload to Github Docker Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
Expand All @@ -118,7 +118,7 @@ jobs:
dockerfile: Dockerfiles/debianx.Dockerfile
buildargs: BUILD_DATE, VCS_REF, JINA_VERSION, INSTALL_DEV
buildoptions: ${{ matrix.build_option }}
tags: "${{ matrix.tag_prefix }}latest, ${{ matrix.tag_prefix }}${{env.JINA_VERSION}}, ${{ matrix.tag_prefix }}${{env.JINA_MINOR_VERSION}}"
tags: "${{ matrix.tag_prefix }}devel, ${{ matrix.tag_prefix }}${{env.JINA_VERSION}}"

unit-test:
needs: update-docker
Expand Down

0 comments on commit 5899fdc

Please sign in to comment.