Skip to content

Commit

Permalink
GHCR repository name to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
TellToldTold committed Feb 14, 2024
1 parent 9517ce0 commit 356e643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=ghcr.io/${{ github.repository_owner }}/hkn-website
OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
DOCKER_IMAGE=ghcr.io/$OWNER/hkn-website
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
TAGS="$DOCKER_IMAGE:$VERSION,$DOCKER_IMAGE:latest"
Expand Down

0 comments on commit 356e643

Please sign in to comment.