Skip to content

Commit 12f7f3c

Browse files
committed
chore(workflows): duplicate normalization step for image name in Docker publish workflow
- Added an additional step to normalize the image name to lowercase and store it in the environment variable `IMAGE_NAME_LOWER`, ensuring consistency across multiple job steps.
1 parent a648c19 commit 12f7f3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: Normalize image name to lowercase
4242
run: echo "IMAGE_NAME_LOWER=${IMAGE_NAME,,}" >> $GITHUB_ENV
4343

44+
- name: Normalize image name to lowercase
45+
run: echo "IMAGE_NAME_LOWER=${IMAGE_NAME,,}" >> $GITHUB_ENV
46+
4447
# Buildx is still used, but no emulation needed since runners are native
4548
- name: Set up Docker Buildx
4649
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
@@ -96,6 +99,9 @@ jobs:
9699
packages: write
97100
id-token: write
98101
steps:
102+
- name: Normalize image name to lowercase
103+
run: echo "IMAGE_NAME_LOWER=${IMAGE_NAME,,}" >> $GITHUB_ENV
104+
99105
- name: Set up Docker Buildx
100106
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
101107

0 commit comments

Comments
 (0)