Skip to content

Commit

Permalink
bug(release): Force org/repository inside to lowercase with parameter…
Browse files Browse the repository at this point in the history
… expansion
  • Loading branch information
m8rmclaren committed Oct 6, 2023
1 parent ac412fa commit 5a8369d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}.toLowerCase()

jobs:
build:
Expand All @@ -36,6 +35,11 @@ jobs:
packages: write

steps:

- name: Set IMAGE_NAME
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
# Checkout code
# https://github.com/actions/checkout
- name: Checkout code
Expand Down Expand Up @@ -105,6 +109,10 @@ jobs:
needs:
- build
steps:
- name: Set IMAGE_NAME
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
# Download digests
# https://github.com/actions/download-artifact
- name: Download digests
Expand Down Expand Up @@ -153,6 +161,10 @@ jobs:
needs:
- merge
steps:
- name: Set IMAGE_NAME
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
# Checkout code
# https://github.com/actions/checkout
- name: Checkout code
Expand Down

0 comments on commit 5a8369d

Please sign in to comment.