Commit 60ee08a8 authored by John Karabudak's avatar John Karabudak
Browse files

made the environment variable name IMAGE_NAME as requested

parent dbfb6d59
...@@ -30,10 +30,10 @@ jobs: ...@@ -30,10 +30,10 @@ jobs:
# although the repository owner has a lowercase username, this prevents some people from running actions after forking # although the repository owner has a lowercase username, this prevents some people from running actions after forking
- name: Set repository and image name to lowercase - name: Set repository and image name to lowercase
run: | run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME,,}" >>${GITHUB_ENV}
env: env:
IMAGE_NAME_MIXED_CASE: '${{ github.repository }}' IMAGE_NAME: '${{ github.repository }}'
- name: Prepare - name: Prepare
run: | run: |
...@@ -127,10 +127,10 @@ jobs: ...@@ -127,10 +127,10 @@ jobs:
# although the repository owner has a lowercase username, this prevents some people from running actions after forking # although the repository owner has a lowercase username, this prevents some people from running actions after forking
- name: Set repository and image name to lowercase - name: Set repository and image name to lowercase
run: | run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME,,}" >>${GITHUB_ENV}
env: env:
IMAGE_NAME_MIXED_CASE: '${{ github.repository }}' IMAGE_NAME: '${{ github.repository }}'
- name: Prepare - name: Prepare
run: | run: |
...@@ -227,10 +227,10 @@ jobs: ...@@ -227,10 +227,10 @@ jobs:
# although the repository owner has a lowercase username, this prevents some people from running actions after forking # although the repository owner has a lowercase username, this prevents some people from running actions after forking
- name: Set repository and image name to lowercase - name: Set repository and image name to lowercase
run: | run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME,,}" >>${GITHUB_ENV}
env: env:
IMAGE_NAME_MIXED_CASE: '${{ github.repository }}' IMAGE_NAME: '${{ github.repository }}'
- name: Prepare - name: Prepare
run: | run: |
...@@ -318,10 +318,10 @@ jobs: ...@@ -318,10 +318,10 @@ jobs:
# although the repository owner has a lowercase username, this prevents some people from running actions after forking # although the repository owner has a lowercase username, this prevents some people from running actions after forking
- name: Set repository and image name to lowercase - name: Set repository and image name to lowercase
run: | run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME,,}" >>${GITHUB_ENV}
env: env:
IMAGE_NAME_MIXED_CASE: '${{ github.repository }}' IMAGE_NAME: '${{ github.repository }}'
- name: Download digests - name: Download digests
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
...@@ -373,10 +373,10 @@ jobs: ...@@ -373,10 +373,10 @@ jobs:
# although the repository owner has a lowercase username, this prevents some people from running actions after forking # although the repository owner has a lowercase username, this prevents some people from running actions after forking
- name: Set repository and image name to lowercase - name: Set repository and image name to lowercase
run: | run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME,,}" >>${GITHUB_ENV}
env: env:
IMAGE_NAME_MIXED_CASE: '${{ github.repository }}' IMAGE_NAME: '${{ github.repository }}'
- name: Download digests - name: Download digests
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
...@@ -429,10 +429,10 @@ jobs: ...@@ -429,10 +429,10 @@ jobs:
# although the repository owner has a lowercase username, this prevents some people from running actions after forking # although the repository owner has a lowercase username, this prevents some people from running actions after forking
- name: Set repository and image name to lowercase - name: Set repository and image name to lowercase
run: | run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME_MIXED_CASE,,}" >>${GITHUB_ENV} echo "FULL_IMAGE_NAME=ghcr.io/${IMAGE_NAME,,}" >>${GITHUB_ENV}
env: env:
IMAGE_NAME_MIXED_CASE: '${{ github.repository }}' IMAGE_NAME: '${{ github.repository }}'
- name: Download digests - name: Download digests
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment