Skip to content

Commit

Permalink
Merge pull request #7648 from everpcpc/fix-image
Browse files Browse the repository at this point in the history
ci: add latest tag for service image
  • Loading branch information
Xuanwo authored Sep 15, 2022
2 parents 2a3ec97 + 12d9085 commit 640238d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/databend-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,13 @@ jobs:
id: get_image_tags
shell: bash
run: |
dockerhub_base=${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}
ecr_base=${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}
_tags="${dockerhub_base}-${{ matrix.distro }},${ecr_base}-${{ matrix.distro }}"
_tags="${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}-${{ matrix.distro }}"
_tags="${_tags},${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}-${{ matrix.distro }}"
if [[ "${{ matrix.distro }}" == "debian" ]]; then
_tags="${_tags},${dockerhub_base},${ecr_base}"
_tags="${_tags},${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}"
_tags="${_tags},${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}"
_tags="${_tags},${{ steps.login.outputs.dockerhub_repo }}:latest"
_tags="${_tags},${{ steps.login.outputs.ecr_repo }}:latest"
fi
echo ::set-output name=IMAGE_TAGS::${_tags}
Expand Down

1 comment on commit 640238d

@vercel
Copy link

@vercel vercel bot commented on 640238d Sep 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend-databend.vercel.app
databend.vercel.app
databend-git-main-databend.vercel.app
databend.rs

Please sign in to comment.