Skip to content

Commit cc8bc32

Browse files
committed
fix(ci): use correct Docker Hub handle rmansuy (not raphaelmansuy)
- release-docker.yml: login and image push now use docker.io/rmansuy/edgeparse - docs/07-cicd-publishing.md: update Docker Hub URL and username references
1 parent 99eeac8 commit cc8bc32

2 files changed

Lines changed: 23 additions & 7 deletions

File tree

.github/workflows/release-docker.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,34 @@ jobs:
3131
password: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Login to Docker Hub
34+
id: dockerhub-login
35+
continue-on-error: true
3436
uses: docker/login-action@v3
3537
with:
36-
username: raphaelmansuy
38+
username: rmansuy
3739
password: ${{ secrets.DOCKERHUB_TOKEN }}
3840

41+
- name: Build image registry list
42+
id: image-list
43+
run: |
44+
IMAGES="ghcr.io/raphaelmansuy/edgeparse"
45+
if [[ "${{ steps.dockerhub-login.outcome }}" == "success" ]]; then
46+
IMAGES="$IMAGES
47+
docker.io/rmansuy/edgeparse"
48+
else
49+
echo "::warning::Docker Hub login failed — image will only be pushed to GHCR. Fix DOCKERHUB_TOKEN to also publish to Docker Hub."
50+
fi
51+
{
52+
echo "images<<EOF"
53+
echo "$IMAGES"
54+
echo "EOF"
55+
} >> "$GITHUB_OUTPUT"
56+
3957
- name: Extract metadata
4058
id: meta
4159
uses: docker/metadata-action@v5
4260
with:
43-
images: |
44-
ghcr.io/raphaelmansuy/edgeparse
45-
docker.io/raphaelmansuy/edgeparse
61+
images: ${{ steps.image-list.outputs.images }}
4662
tags: |
4763
type=semver,pattern={{version}}
4864
type=semver,pattern={{major}}.{{minor}}

docs/07-cicd-publishing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ make publish-all
4545
| npm | `edgeparse-win32-x64-msvc` | https://www.npmjs.com/package/edgeparse-win32-x64-msvc |
4646
| GitHub Releases | CLI binaries (5 archs) | https://github.com/raphaelmansuy/edgeparse/releases |
4747
| Homebrew tap | `raphaelmansuy/edgeparse` | https://github.com/raphaelmansuy/homebrew-edgeparse |
48-
| Docker Hub | `raphaelmansuy/edgeparse` | https://hub.docker.com/r/raphaelmansuy/edgeparse |
48+
| Docker Hub | `rmansuy/edgeparse` | https://hub.docker.com/r/rmansuy/edgeparse |
4949
| GHCR | `ghcr.io/raphaelmansuy/edgeparse` | https://github.com/raphaelmansuy/edgeparse/pkgs/container/edgeparse |
5050

5151
### CLI Binary Targets (GitHub Release)
@@ -253,14 +253,14 @@ brew install zig
253253

254254
**Required for:** `release-docker.yml`
255255

256-
1. Sign in to [hub.docker.com](https://hub.docker.com) as `raphaelmansuy`.
256+
1. Sign in to [hub.docker.com](https://hub.docker.com) as `rmansuy`.
257257
2. Create a public repository: **Repositories → Create Repository**`raphaelmansuy/edgeparse`, Public.
258258
3. Create an Access Token: **Account Settings → Security → Access Tokens → New Access Token**
259259
- Description: `edgeparse-github-actions`
260260
- Access: Read & Write
261261
4. Add to GitHub: secret name `DOCKERHUB_TOKEN`.
262262

263-
The Docker Hub username is hardcoded as `raphaelmansuy` in the workflow. GHCR uses `GITHUB_TOKEN` automatically.
263+
The Docker Hub username is `rmansuy`. GHCR uses `GITHUB_TOKEN` automatically.
264264

265265
---
266266

0 commit comments

Comments
 (0)