@@ -17,7 +17,7 @@ permissions:
1717 packages : write
1818
1919env :
20- IMAGE_NAME : ${{ github.repository_owner }}/ coordinatecore
20+ IMAGE_NAME : coordinatecore
2121 ENV_TYPE : dev
2222
2323jobs :
5757 release_branches : dev,main
5858 default_bump : patch # can be major/minor/patch
5959
60+ - name : Set lowercase owner name
61+ id : lowercase
62+ run : |
63+ echo "owner=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
64+
6065 - name : Install Dependencies
6166 run : |
6267 # Wait for apt lock to be released
@@ -110,7 +115,7 @@ jobs:
110115 id : meta
111116 uses : docker/metadata-action@v5
112117 with :
113- images : ghcr.io/${{ env.IMAGE_NAME }}
118+ images : ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}
114119 tags : |
115120 type=raw,value=${{ steps.tag.outputs.new_tag }}
116121 type=raw,value=latest
@@ -123,5 +128,5 @@ jobs:
123128 push : true
124129 tags : ${{ steps.meta.outputs.tags }}
125130 labels : ${{ steps.meta.outputs.labels }}
126- cache-from : type=registry,ref=ghcr.io/${{ env.IMAGE_NAME }}:buildcache
127- cache-to : type=registry,ref=ghcr.io/${{ env.IMAGE_NAME }}:buildcache,mode=max
131+ cache-from : type=registry,ref=ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}:buildcache
132+ cache-to : type=registry,ref=ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
0 commit comments