From 1fe5a4e44b4027ae879782e5578d088e49c5cd49 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Tue, 21 May 2024 10:04:23 +0800 Subject: [PATCH] ci: change the image name of nightly build --- .github/workflows/nightly-build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index e3311f2902ea..03df8151cce4 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -66,6 +66,10 @@ env: NIGHTLY_RELEASE_PREFIX: nightly + # Use the different image name to avoid conflict with the release images. + # The DockerHub image will be greptime/greptimedb-nightly. + IMAGE_NAME: greptimedb-nightly + permissions: issues: write @@ -191,6 +195,7 @@ jobs: with: image-registry: docker.io image-namespace: ${{ vars.IMAGE_NAMESPACE }} + image-name: ${{ env.IMAGE_NAME }} image-registry-username: ${{ secrets.DOCKERHUB_USERNAME }} image-registry-password: ${{ secrets.DOCKERHUB_TOKEN }} version: ${{ needs.allocate-runners.outputs.version }} @@ -223,7 +228,7 @@ jobs: with: src-image-registry: docker.io src-image-namespace: ${{ vars.IMAGE_NAMESPACE }} - src-image-name: greptimedb + src-image-name: ${{ env.IMAGE_NAME }} dst-image-registry-username: ${{ secrets.ALICLOUD_USERNAME }} dst-image-registry-password: ${{ secrets.ALICLOUD_PASSWORD }} dst-image-registry: ${{ vars.ACR_IMAGE_REGISTRY }}