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: > [