diff --git a/.github/workflows/main-release.yaml b/.github/workflows/main-release.yaml index 820fe9d..88e313f 100644 --- a/.github/workflows/main-release.yaml +++ b/.github/workflows/main-release.yaml @@ -8,7 +8,7 @@ on: push: branches: - main - - fork-modifications + - develop jobs: build-and-push: @@ -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: set lower case owner name + run: | + echo "REPO_LC=$(echo ${{ github.repository }} | awk 'BEGIN{FS=OFS="/"}{print tolower($1) "/" $2}')" >>${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_LC }} GITHUB_WORKFLOW: ${{ github.workflow }} build-tauri: