Skip to content

Commit 3ea9931

Browse files
committed
Try and publish to ghcr.io take 2
1 parent 4a8f98b commit 3ea9931

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ jobs:
2525

2626
- name: Build Docker image
2727
run: |
28-
docker build -t ghcr.io/${{ github.repository }}:latest .
28+
IMAGE_NAME=ghcr.io/${{ github.repository }}:latest
29+
IMAGE_NAME_LC=$(echo $IMAGE_NAME | tr '[:upper:]' '[:lower:]')
30+
docker build -t $IMAGE_NAME_LC .
2931
3032
- name: Push Docker image
3133
run: |
32-
docker push ghcr.io/${{ github.repository }}:latest
34+
IMAGE_NAME=ghcr.io/${{ github.repository }}:latest
35+
IMAGE_NAME_LC=$(echo $IMAGE_NAME | tr '[:upper:]' '[:lower:]')
36+
docker push $IMAGE_NAME_LC

0 commit comments

Comments
 (0)