Skip to content

Commit b321b36

Browse files
committed
lowercase owner ci
1 parent 6d6f41a commit b321b36

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/docker-image.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@ jobs:
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

31+
- name: Set lower case owner name
32+
id: set_owner_lc
33+
run: echo "owner_lc=${OWNER,,}" >> $GITHUB_OUTPUT
34+
env:
35+
OWNER: ${{ github.repository_owner }}
36+
3137
- name: Build and push Docker image
3238
uses: docker/build-push-action@v5
3339
with:
3440
context: .
3541
file: ./Dockerfile
3642
push: true
37-
tags: ghcr.io/${{ github.repository }}-jekyll-modified:latest
43+
tags: ghcr.io/${{ steps.set_owner_lc.outputs.owner_lc }}/jekyll-modified:latest

0 commit comments

Comments
 (0)