Skip to content

Commit 53a9dc8

Browse files
committed
Add Docker Hub release publishing
1 parent b213b86 commit 53a9dc8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Triggered by version tags (v*.*.*).
55
# Produces:
66
# • Docker image pushed to ghcr.io/entgldb/blite-server
7+
# • Docker image pushed to docker.io/mrdevrobotentgldb/blite-server
78
# • Windows installer (.exe) built with Inno Setup 6
89
# • Linux tarball (.tar.gz) with self-contained binary + install.sh
910
# • GitHub Release with all artifacts attached
@@ -51,6 +52,12 @@ jobs:
5152
username: ${{ github.actor }}
5253
password: ${{ secrets.GITHUB_TOKEN }}
5354

55+
- name: Log in to Docker Hub
56+
uses: docker/login-action@v3
57+
with:
58+
username: ${{ secrets.DOCKERHUB_USERNAME }}
59+
password: ${{ secrets.DOCKERHUB_TOKEN }}
60+
5461
- name: Build and push image
5562
uses: docker/build-push-action@v6
5663
with:
@@ -63,6 +70,8 @@ jobs:
6370
tags: |
6471
ghcr.io/entgldb/blite-server:${{ steps.version.outputs.version }}
6572
ghcr.io/entgldb/blite-server:latest
73+
mrdevrobotentgldb/blite-server:${{ steps.version.outputs.version }}
74+
mrdevrobotentgldb/blite-server:latest
6675
cache-from: type=gha
6776
cache-to: type=gha,mode=max
6877
build-args: |
@@ -209,6 +218,9 @@ jobs:
209218
210219
```bash
211220
docker pull ghcr.io/entgldb/blite-server:${{ github.ref_name }}
221+
# or
222+
docker pull mrdevrobotentgldb/blite-server:${{ github.ref_name }}
223+
212224
docker run -d \
213225
-e Auth__RootKey=<your-secret-key> \
214226
-p 2626:2626 \

0 commit comments

Comments
 (0)