fix: add 'image-name' argument to correct the invalid image namespace(mix with image-name) (#2126)

This commit is contained in:
zyy17
2023-08-09 10:04:11 +08:00
committed by GitHub
parent ce0f909cac
commit d44cd9c6f5
2 changed files with 13 additions and 7 deletions

View File

@@ -68,8 +68,8 @@ env:
NIGHTLY_RELEASE_PREFIX: nightly
# Use the different image namespace to avoid conflict with the release images.
IMAGE_NAMESPACE: greptimedb-dev
# Use the different image name to avoid conflict with the release images.
IMAGE_NAME: greptimedb-dev
jobs:
allocate-runners:
@@ -229,7 +229,8 @@ jobs:
uses: ./.github/actions/build-images
with:
image-registry: docker.io
image-namespace: ${{ env.IMAGE_NAMESPACE }}
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 }}
@@ -263,7 +264,8 @@ jobs:
uses: ./.github/actions/build-images
with:
image-registry: ${{ vars.ACR_IMAGE_REGISTRY }}
image-namespace: ${{ env.IMAGE_NAMESPACE }}
image-namespace: ${{ vars.IMAGE_NAMESPACE }}
image-name: ${{ env.IMAGE_NAME }}
image-registry-username: ${{ secrets.ALICLOUD_USERNAME }}
image-registry-password: ${{ secrets.ALICLOUD_PASSWORD }}
version: ${{ needs.allocate-runners.outputs.version }}