From 8c8b3cba9da4fd7ba1e2836d6afeeb9313f2f6d9 Mon Sep 17 00:00:00 2001 From: Dnouv Date: Wed, 22 May 2024 13:06:30 +0530 Subject: [PATCH] fix lower case --- .github/workflows/main-release.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main-release.yaml b/.github/workflows/main-release.yaml index 265eafa..6705a99 100644 --- a/.github/workflows/main-release.yaml +++ b/.github/workflows/main-release.yaml @@ -33,13 +33,22 @@ jobs: - name: Expose GH Runtime uses: crazy-max/ghaction-github-runtime@v3 + - name: set lower case owner name + run: | + echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} + env: + OWNER: "${{ github.repository_owner }}" + + - name: Convert repository name to lowercase + run: echo "REPO_NAME_LC=$(echo ${{ github.event.repository.name }} | awk '{print tolower($0)}')" >> $GITHUB_ENV + - name: Build and Push Docker Images run: | make build_and_push_images env: REGISTRY: "ghcr.io" - ORG: ${{ github.repository_owner }} - REPO: ${{ github.event.repository.name }} + ORG: ${{ env.OWNER_LC }} + REPO: ${{ env.REPO_NAME_LC }} GITHUB_WORKFLOW: ${{ github.workflow }} build-tauri: