From 773b8a9c56a91b7bd627c602b0dd6d6bd6f0486f Mon Sep 17 00:00:00 2001 From: leehk Date: Wed, 16 Apr 2025 16:52:21 +0800 Subject: [PATCH] update wiht github lowecse --- .github/workflows/build_new.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_new.yml b/.github/workflows/build_new.yml index e1756a6..224e332 100644 --- a/.github/workflows/build_new.yml +++ b/.github/workflows/build_new.yml @@ -50,7 +50,7 @@ jobs: with: # Pass values from the matrix context and global env project_name: aimingmed-ai - image_repo: ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[A-Z]' '[a-z]') + image_repo: ghcr.io/${{ github.repository.toLowerCase() }} image_name: ${{ matrix.image_config.IMAGE_NAME }} build_context: ${{ matrix.image_config.BUILD_CONTEXT }} dockerfile: ${{ matrix.image_config.DOCKERFILE }} @@ -69,7 +69,7 @@ jobs: uses: ./.github/workflows/template_test.yml # Path to the reusable workflow file with: projectName: aimingmed-ai - image_repo: ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[A-Z]' '[a-z]') + image_repo: ghcr.io/${{ github.repository.toLowerCase() }} # Pass test environment variables as JSON string testEnvs: > [