Skip to content

Commit a38485d

Browse files
committed
Normalize image naming convention in GitHub Actions workflow
1 parent c2d423f commit a38485d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
workflow_dispatch:
88

99
env:
10-
IMAGE_NAME: ghcr.io/${{ github.repository }}
1110
RUNNER_VERSION: 2.327.1
1211

1312
jobs:
@@ -16,6 +15,9 @@ jobs:
1615
steps:
1716
- uses: actions/checkout@v4
1817

18+
- name: Normalize image name
19+
run: echo "IMAGE_NAME=$(echo ghcr.io/${{ github.repository_owner }}/gh-runner | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
20+
1921
- name: Log in to GHCR
2022
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
2123

0 commit comments

Comments
 (0)