Skip to content

Commit

Permalink
fix: correct method call to convert GitHub repository owner to lowercase
Browse files Browse the repository at this point in the history
In the GitHub workflows (`push.yml`, `release.yml`, `release-prod.yml`), the method call to convert the GitHub repository owner name to lowercase was corrected from `lowercase` to `toLowerCase()`. This change will prevent potential errors in case the owner name contains upper case letters.
  • Loading branch information
Björn Urban committed Jun 16, 2024
1 parent dcb1923 commit 7262c51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner.lowercase }}/doclytics:${{ env.BRANCH_NAME }}
tags: ghcr.io/${{ github.repository_owner.toLowerCase() }}/doclytics:${{ env.BRANCH_NAME }}
platforms: linux/amd64,linux/arm64
release:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner.lowercase }}/doclytics:${{ env.BRANCH_NAME }}
tags: ghcr.io/${{ github.repository_owner.toLowerCase() }}/doclytics:${{ env.BRANCH_NAME }}
platforms: linux/amd64,linux/arm64

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner.lowercase }}/doclytics:${{ env.BRANCH_NAME }}
tags: ghcr.io/${{ github.repository_owner.toLowerCase() }}/doclytics:${{ env.BRANCH_NAME }}
platforms: linux/amd64,linux/arm64

0 comments on commit 7262c51

Please sign in to comment.