Skip to content

Commit

Permalink
lowercase for the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
geekgonecrazy committed Jun 14, 2024
1 parent 5f2866b commit f86697a
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/tag-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,27 @@ 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: |
TAG=${GITHUB_REF#refs/heads/} make build_and_push_images
if [[ $GITHUB_REF == refs/tags/* ]]; then
TAG=${GITHUB_REF#refs/tags/}
else
TAG=${GITHUB_REF#refs/heads/}
fi
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 f86697a

Please sign in to comment.