Skip to content

Commit 64ad454

Browse files
author
Alan Christie
committed
ci: Attempt to fix repo owner (lower case)
1 parent 2a870e7 commit 64ad454

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ jobs:
5959
uses: docker/setup-qemu-action@v3
6060
- name: Set up Docker Buildx
6161
uses: docker/setup-buildx-action@v3
62+
- name: Set lower case owner name
63+
run: echo "owner=${OWNER,,}" >> "$GITHUB_ENV"
64+
env:
65+
OWNER: '${{ github.repository_owner }}'
6266
- name: Build
6367
uses: docker/build-push-action@v6
6468
with:
6569
context: .
6670
platforms: linux/amd64,linux/arm64
67-
tags: ${{ github.repository_owner }}/squonk2-fastapi-ws-event-stream:latest
71+
tags: ${owner}/squonk2-fastapi-ws-event-stream:latest

.github/workflows/tag.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ jobs:
3838
with:
3939
username: ${{ secrets.DOCKERHUB_USERNAME }}
4040
password: ${{ secrets.DOCKERHUB_TOKEN }}
41+
- name: Set lower case owner name
42+
run: echo "owner=${OWNER,,}" >> "$GITHUB_ENV"
43+
env:
44+
OWNER: '${{ github.repository_owner }}'
4145
- name: Build and Push
4246
uses: docker/build-push-action@v6
4347
with:
4448
context: .
4549
platforms: linux/amd64,linux/arm64
46-
tags: ${{ github.repository_owner }}/squonk2-fastapi-ws-event-stream:${{ github.ref_name }}
50+
tags: ${owner}/squonk2-fastapi-ws-event-stream:${{ github.ref_name }}
4751
push: true

0 commit comments

Comments
 (0)