Skip to content

Commit 470564b

Browse files
committed
ga
1 parent ee6e445 commit 470564b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docker-build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949
if: ${{ github.event_name == 'push' || github.event.inputs.services == 'all' || contains(github.event.inputs.services, matrix.service.name) }}
5050
uses: actions/checkout@v4
5151

52+
- name: Set lowercase owner
53+
if: ${{ github.event_name == 'push' || github.event.inputs.services == 'all' || contains(github.event.inputs.services, matrix.service.name) }}
54+
run: echo "OWNER_LC=${OWNER,,}" >> $GITHUB_ENV
55+
env:
56+
OWNER: ${{ github.repository_owner }}
57+
5258
- name: Set up Docker Buildx
5359
if: ${{ github.event_name == 'push' || github.event.inputs.services == 'all' || contains(github.event.inputs.services, matrix.service.name) }}
5460
uses: docker/setup-buildx-action@v3
@@ -68,4 +74,4 @@ jobs:
6874
context: ${{ matrix.service.path }}
6975
platforms: linux/amd64
7076
push: true
71-
tags: ghcr.io/${{ github.repository_owner | lower }}/${{ matrix.service.name }}:latest
77+
tags: ghcr.io/${{ env.OWNER_LC }}/${{ matrix.service.name }}:latest

0 commit comments

Comments
 (0)