Skip to content

Commit ec52609

Browse files
committed
cd: update cd for lowercase letters
1 parent a701a97 commit ec52609

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ jobs:
2121

2222
- name: Build Docker image
2323
run: |
24-
IMAGE_NAME=ghcr.io/${{ github.repository }}:latest
24+
REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')
25+
IMAGE_NAME=ghcr.io/$REPO_NAME:latest
2526
docker build -t $IMAGE_NAME .
2627
2728
- name: Push Docker image to GitHub Container Registry
2829
run: |
29-
IMAGE_NAME=ghcr.io/${{ github.repository }}:latest
30+
REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')
31+
IMAGE_NAME=ghcr.io/$REPO_NAME:latest
3032
docker push $IMAGE_NAME

0 commit comments

Comments
 (0)