Skip to content

Commit ad549bb

Browse files
Stewart86claude
andcommitted
fix: correct Docker Hub repository name and workflow formatting
- Fix Docker Hub repository name from stewart86/bobby-bot to stewart86/bobby - Update README references to use correct repository name - Reformat GitHub Actions workflow with proper indentation - Ensure consistency across all Docker Hub references 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0f3f11c commit ad549bb

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

.github/workflows/docker-publish.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Build and Publish Docker Image
22

33
on:
44
push:
5-
branches: [ main ]
6-
tags: [ 'v*' ]
5+
branches: [main]
6+
tags: ["v*"]
77
pull_request:
8-
branches: [ main ]
8+
branches: [main]
99

1010
env:
1111
REGISTRY: docker.io
12-
IMAGE_NAME: stewart86/bobby-bot
12+
IMAGE_NAME: stewart86/bobby
1313

1414
jobs:
1515
build-and-push:
@@ -19,44 +19,44 @@ jobs:
1919
packages: write
2020

2121
steps:
22-
- name: Checkout repository
23-
uses: actions/checkout@v4
24-
25-
- name: Log in to Docker Hub
26-
if: github.event_name != 'pull_request'
27-
uses: docker/login-action@v3
28-
with:
29-
registry: ${{ env.REGISTRY }}
30-
username: ${{ secrets.DOCKERHUB_USERNAME }}
31-
password: ${{ secrets.DOCKERHUB_TOKEN }}
32-
33-
- name: Extract metadata (tags, labels) for Docker
34-
id: meta
35-
uses: docker/metadata-action@v5
36-
with:
37-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38-
tags: |
39-
type=ref,event=branch
40-
type=ref,event=pr
41-
type=semver,pattern={{version}}
42-
type=semver,pattern={{major}}.{{minor}}
43-
type=raw,value=latest,enable={{is_default_branch}}
44-
45-
- name: Build and push Docker image
46-
uses: docker/build-push-action@v5
47-
with:
48-
context: .
49-
file: ./Dockerfile
50-
push: ${{ github.event_name != 'pull_request' }}
51-
tags: ${{ steps.meta.outputs.tags }}
52-
labels: ${{ steps.meta.outputs.labels }}
53-
platforms: linux/amd64
54-
55-
- name: Update Docker Hub description
56-
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
57-
uses: peter-evans/dockerhub-description@v4
58-
with:
59-
username: ${{ secrets.DOCKERHUB_USERNAME }}
60-
password: ${{ secrets.DOCKERHUB_TOKEN }}
61-
repository: ${{ env.IMAGE_NAME }}
62-
readme-filepath: ./README.md
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Log in to Docker Hub
26+
if: github.event_name != 'pull_request'
27+
uses: docker/login-action@v3
28+
with:
29+
registry: ${{ env.REGISTRY }}
30+
username: ${{ secrets.DOCKERHUB_USERNAME }}
31+
password: ${{ secrets.DOCKERHUB_TOKEN }}
32+
33+
- name: Extract metadata (tags, labels) for Docker
34+
id: meta
35+
uses: docker/metadata-action@v5
36+
with:
37+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38+
tags: |
39+
type=ref,event=branch
40+
type=ref,event=pr
41+
type=semver,pattern={{version}}
42+
type=semver,pattern={{major}}.{{minor}}
43+
type=raw,value=latest,enable={{is_default_branch}}
44+
45+
- name: Build and push Docker image
46+
uses: docker/build-push-action@v5
47+
with:
48+
context: .
49+
file: ./Dockerfile
50+
push: ${{ github.event_name != 'pull_request' }}
51+
tags: ${{ steps.meta.outputs.tags }}
52+
labels: ${{ steps.meta.outputs.labels }}
53+
platforms: linux/amd64
54+
55+
- name: Update Docker Hub description
56+
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
57+
uses: peter-evans/dockerhub-description@v4
58+
with:
59+
username: ${{ secrets.DOCKERHUB_USERNAME }}
60+
password: ${{ secrets.DOCKERHUB_TOKEN }}
61+
repository: ${{ env.IMAGE_NAME }}
62+
readme-filepath: ./README.md

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ docker run -d \
1515
-e GH_TOKEN=your_github_personal_access_token \
1616
-e GITHUB_REPO=owner/repo-name \
1717
-v bobby-data:/app/data \
18-
stewart86/bobby-bot:latest
18+
stewart86/bobby:latest
1919
```
2020

2121
That's it! Bobby will automatically:
@@ -253,7 +253,7 @@ docker run -d \
253253
-e GITHUB_REPO=owner/repo-name \
254254
-e ALLOWED_DISCORD_SERVERS=123456789012345678,987654321098765432 \
255255
-v bobby-data:/app/data \
256-
stewart86/bobby-bot:latest
256+
stewart86/bobby:latest
257257
```
258258
259259
**Option 2: Build from Source**
@@ -389,7 +389,7 @@ docker run -d \
389389
--name "bobby-${ORG_NAME}" \
390390
--env-file "$1" \
391391
-v "bobby-${ORG_NAME}-data:/app/data" \
392-
stewart86/bobby-bot:latest
392+
stewart86/bobby:latest
393393
```
394394
395395
This allows each organization to use their own:
@@ -401,9 +401,9 @@ This allows each organization to use their own:
401401
402402
Bobby is automatically published to Docker Hub with every release:
403403
404-
- **Repository**: [`stewart86/bobby-bot`](https://hub.docker.com/r/stewart86/bobby-bot)
405-
- **Latest stable**: `stewart86/bobby-bot:latest`
406-
- **Specific versions**: `stewart86/bobby-bot:v1.0.0`
404+
- **Repository**: [`stewart86/bobby`](https://hub.docker.com/r/stewart86/bobby)
405+
- **Latest stable**: `stewart86/bobby:latest`
406+
- **Specific versions**: `stewart86/bobby:v1.0.0`
407407
408408
### Automated Publishing
409409

0 commit comments

Comments
 (0)