Skip to content

Commit

Permalink
fix lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
Dnouv committed May 22, 2024
1 parent 8a98fa4 commit 8c8b3cb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8c8b3cb

Please sign in to comment.