Skip to content

Commit 203fd2b

Browse files
committed
downcase image name
Signed-off-by: Brian DeHamer <[email protected]>
1 parent d128556 commit 203fd2b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish_container.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
1010
env:
1111
REGISTRY: ghcr.io
12-
IMAGE_NAME: ${{ github.repository }}
1312

1413
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
1514
jobs:
@@ -21,6 +20,12 @@ jobs:
2120
contents: write
2221
packages: write
2322
steps:
23+
- name: Lowercase repository name
24+
run: |
25+
echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
26+
- name: Test
27+
run: |
28+
echo $IMAGE_NAME
2429
- name: Checkout repository
2530
uses: actions/checkout@v4
2631
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)