88concurrency : ${{ github.ref }}
99
1010env :
11- IMAGE_NAME : cloudstruct /cardano-db-sync
11+ IMAGE_NAME : blinklabs /cardano-db-sync
1212
1313jobs :
1414
2323 - name : Login to Docker Hub
2424 uses : docker/login-action@v2
2525 with :
26- username : cloudstruct
26+ username : blinklabs
2727 password : ${{ secrets.DOCKER_PASSWORD }} # uses token
2828 - name : Login to GHCR
2929 uses : docker/login-action@v2
8989 - name : Login to Docker Hub
9090 uses : docker/login-action@v2
9191 with :
92- username : cloudstruct
92+ username : blinklabs
9393 password : ${{ secrets.DOCKER_PASSWORD }} # uses token
9494 - name : Login to GHCR
9595 uses : docker/login-action@v2
@@ -156,7 +156,7 @@ jobs:
156156 - name : Login to Docker Hub
157157 uses : docker/login-action@v2
158158 with :
159- username : cloudstruct
159+ username : blinklabs
160160 password : ${{ secrets.DOCKER_PASSWORD }} # uses token
161161 - name : Login to GHCR
162162 uses : docker/login-action@v2
@@ -193,7 +193,7 @@ jobs:
193193 name : Metadata - GHCR
194194 uses : docker/metadata-action@v4
195195 with :
196- images : ghcr.io/${{ env.IMAGE_NAME }}
196+ images : ghcr.io/${{ github.repository }}
197197 flavor : |
198198 latest=false
199199 tags : |
@@ -208,7 +208,7 @@ jobs:
208208 uses : docker/metadata-action@v4
209209 with :
210210 images : |
211- ghcr.io/${{ env.IMAGE_NAME }}
211+ ghcr.io/${{ github.repostory }}
212212 flavor : |
213213 latest=false
214214 tags : |
@@ -224,7 +224,7 @@ jobs:
224224 run : docker manifest create ${{ env.IMAGE_NAME }}:latest --amend ${{ steps.meta-dockerhub.outputs.tags }}-amd64 --amend ${{ steps.meta-dockerhub.outputs.tags }}-arm64v8
225225 if : startsWith(github.ref, 'refs/tags/')
226226 - name : manifest-ghcr-latest
227- run : docker manifest create ghcr.io/${{ env.IMAGE_NAME }}:latest --amend ${{ steps.meta-ghcr.outputs.tags }}-amd64 --amend ${{ steps.meta-ghcr.outputs.tags }}-arm64v8
227+ run : docker manifest create ghcr.io/${{ github.repository }}:latest --amend ${{ steps.meta-ghcr.outputs.tags }}-amd64 --amend ${{ steps.meta-ghcr.outputs.tags }}-arm64v8
228228 if : startsWith(github.ref, 'refs/tags/')
229229 # Optional manifest for tag versions (includes revisions)
230230 - name : manifest-dockerhub-tags
@@ -242,7 +242,7 @@ jobs:
242242 run : docker manifest push ${{ env.IMAGE_NAME }}:latest
243243 if : startsWith(github.ref, 'refs/tags/')
244244 - name : push-ghcr-latest
245- run : docker manifest push ghcr.io/${{ env.IMAGE_NAME }}:latest
245+ run : docker manifest push ghcr.io/${{ github.repository }}:latest
246246 if : startsWith(github.ref, 'refs/tags/')
247247 - name : push-dockerhub-tags
248248 run : docker manifest push ${{ steps.meta-dockerhub-tag.outputs.tags }}
@@ -254,7 +254,7 @@ jobs:
254254 - name : Docker Hub Description
255255 uses : peter-evans/dockerhub-description@v3
256256 with :
257- username : cloudstruct
257+ username : blinklabs
258258 password : ${{ secrets.DOCKER_PASSWORD }}
259259 repository : ${{ env.IMAGE_NAME }}
260260 readme-filepath : ./README.md
0 commit comments