Skip to content

Commit

Permalink
ci: set IMAGE_NAME in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyDjemai committed Nov 12, 2024
1 parent c67e975 commit 645a6ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:

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

permissions:
contents: read
Expand All @@ -35,6 +34,8 @@ jobs:
- name: Prepare
run: |
platform=${{ matrix.platform }}
# Store image name in lowercase and platform pair for Docker push
echo "IMAGE_NAME=${GITHUB_REPOSITORY@L}" >> $GITHUB_ENV
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Docker meta
Expand Down Expand Up @@ -92,6 +93,10 @@ jobs:
needs:
- build
steps:
- name: Prepare
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY@L}" >> $GITHUB_ENV
- name: Download digests
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 645a6ba

Please sign in to comment.