Skip to content

Commit

Permalink
GHA CD: lowercase repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Aug 2, 2024
1 parent 539c828 commit 7e873c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [ "master" ]

env:
IMAGE_NAME: ghcr.io/${{ github.repository }}
REPO_NAME: ${{ github.repository }}

jobs:

Expand All @@ -30,6 +30,8 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: define image name from repo name
run: echo "IMAGE_NAME=${REPO_NAME,,}" >> $GITHUB_ENV
- name: Build the Docker image
run: make docker DOCKER_TAG=${{ env.IMAGE_NAME }}
- name: Push to Github Container Registry
Expand Down

0 comments on commit 7e873c1

Please sign in to comment.