Skip to content

Commit 7e215b6

Browse files
authored
Merge pull request #15 from blinklabs-io/chore/rename
chore: rename for blink labs
2 parents 0fec93d + 13f20e5 commit 7e215b6

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/ci-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
REGISTRY: ghcr.io
10-
IMAGE_NAME: cloudstruct/cardano-db-sync
10+
IMAGE_NAME: blinklabs/cardano-db-sync
1111

1212
jobs:
1313
build-amd64:

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
concurrency: ${{ github.ref }}
99

1010
env:
11-
IMAGE_NAME: cloudstruct/cardano-db-sync
11+
IMAGE_NAME: blinklabs/cardano-db-sync
1212

1313
jobs:
1414

@@ -23,7 +23,7 @@ jobs:
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
@@ -89,7 +89,7 @@ jobs:
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

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
# docker-cardano-db-sync
2+
23
Builds a Cardano DB sync container from source on Debian. This image attempts
34
to keep interface compatibility with `inputoutput/cardano-db-sync`, but may
45
diverge slightly, particularly with any Nix-specific paths.
56

67
## Running
8+
79
To run a Cardano DB sync on mainnet, attached to a local Cardano full node
810
container running:
11+
912
```bash
1013
docker run --detach \
1114
--name cardano-db-sync \
1215
-v dbsync-state:/var/lib/cexplorer \
1316
-v node-ipc:/node-ipc \
14-
ghcr.io/cloudstruct/cardano-db-sync
17+
ghcr.io/blinklabs-io/cardano-db-sync
1518
```
1619

1720
DB sync logs can be followed:
21+
1822
```bash
1923
docker logs -f cardano-db-sync
2024
```

0 commit comments

Comments
 (0)