Skip to content

Commit d47148c

Browse files
authored
fix: update all references from bakerboy448 to baker-scripts (#11)
## Summary - Update GHCR image references in README.md and docker-compose.yml - Update OCI labels in Dockerfile (source, documentation, vendor, authors) - **Critical**: Change hardcoded `IMAGE_NAME: bakerboy448/redditmodlog` to dynamic `${{ github.repository_owner }}/redditmodlog` in docker-build.yml - Update vendor label in workflow ## Context Repo was transferred from bakerboy448 to baker-scripts org. GHCR packages don't transfer automatically. The workflow was hardcoding the old org name, which would publish images to the wrong namespace.
1 parent 2f1f178 commit d47148c

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424

2525
env:
2626
REGISTRY: ghcr.io
27-
IMAGE_NAME: bakerboy448/redditmodlog
27+
IMAGE_NAME: ${{ github.repository_owner }}/redditmodlog
2828

2929
jobs:
3030
build:
@@ -67,7 +67,7 @@ jobs:
6767
labels: |
6868
org.opencontainers.image.title=Reddit ModLog Wiki Publisher
6969
org.opencontainers.image.description=Automated Reddit moderation log publisher to wiki pages
70-
org.opencontainers.image.vendor=bakerboy448
70+
org.opencontainers.image.vendor=baker-scripts
7171
org.opencontainers.image.licenses=GPL-3.0
7272
7373
- name: Build and push Docker image

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ FROM python:3.11-slim
2020
# OCI Labels
2121
LABEL org.opencontainers.image.title="Reddit ModLog Wiki Publisher" \
2222
org.opencontainers.image.description="Automated Reddit moderation log publisher to wiki pages" \
23-
org.opencontainers.image.authors="bakerboy448" \
24-
org.opencontainers.image.source="https://github.com/bakerboy448/RedditModLog" \
25-
org.opencontainers.image.documentation="https://github.com/bakerboy448/RedditModLog/blob/main/README.md" \
23+
org.opencontainers.image.authors="baker-scripts" \
24+
org.opencontainers.image.source="https://github.com/baker-scripts/RedditModLog" \
25+
org.opencontainers.image.documentation="https://github.com/baker-scripts/RedditModLog/blob/main/README.md" \
2626
org.opencontainers.image.licenses="GPL-3.0" \
27-
org.opencontainers.image.vendor="bakerboy448" \
27+
org.opencontainers.image.vendor="baker-scripts" \
2828
org.opencontainers.image.base.name="python:3.11-slim"
2929

3030
# Install runtime dependencies and s6-overlay for user management

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ docker run -d \
244244
-e PUID=1000 \
245245
-e PGID=1000 \
246246
-v ./config:/config \
247-
ghcr.io/bakerboy448/redditmodlog:1
247+
ghcr.io/baker-scripts/redditmodlog:1
248248
249249
# 4. Using Docker Compose (recommended)
250250
docker compose up -d
@@ -270,7 +270,7 @@ docker run -d \
270270
-e REDDIT_PASSWORD=your_password \
271271
-e SOURCE_SUBREDDIT=yoursubreddit \
272272
-v ./config:/config \
273-
ghcr.io/bakerboy448/redditmodlog:1
273+
ghcr.io/baker-scripts/redditmodlog:1
274274
```
275275
276276
### Docker Compose Example
@@ -280,7 +280,7 @@ version: '3.8'
280280
281281
services:
282282
redditmodlog-opensignups:
283-
image: ghcr.io/bakerboy448/redditmodlog:1
283+
image: ghcr.io/baker-scripts/redditmodlog:1
284284
container_name: redditmodlog-opensignups
285285
restart: unless-stopped
286286
environment:
@@ -321,13 +321,13 @@ services:
321321
Pre-built images available at GitHub Container Registry:
322322
323323
**Recommended Tags:**
324-
- `ghcr.io/bakerboy448/redditmodlog:1` - Major version (gets v1.x.x updates automatically)
325-
- `ghcr.io/bakerboy448/redditmodlog:1.4` - Minor version (gets v1.4.x patches only)
326-
- `ghcr.io/bakerboy448/redditmodlog:1.4.3` - Specific version (pinned, no updates)
324+
- `ghcr.io/baker-scripts/redditmodlog:1` - Major version (gets v1.x.x updates automatically)
325+
- `ghcr.io/baker-scripts/redditmodlog:1.4` - Minor version (gets v1.4.x patches only)
326+
- `ghcr.io/baker-scripts/redditmodlog:1.4.3` - Specific version (pinned, no updates)
327327
328328
**Other Tags:**
329-
- `ghcr.io/bakerboy448/redditmodlog:latest` - Always latest build (use with caution)
330-
- `ghcr.io/bakerboy448/redditmodlog:sha-<commit>` - Specific commit SHA
329+
- `ghcr.io/baker-scripts/redditmodlog:latest` - Always latest build (use with caution)
330+
- `ghcr.io/baker-scripts/redditmodlog:sha-<commit>` - Specific commit SHA
331331
332332
**Architectures:** `linux/amd64`, `linux/arm64`
333333

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
modlog-bot:
33
build: .
4-
image: ghcr.io/bakerboy448/redditmodlog:latest
4+
image: ghcr.io/baker-scripts/redditmodlog:latest
55
container_name: reddit-modlog-bot
66
restart: unless-stopped
77
environment:

0 commit comments

Comments
 (0)