Skip to content

Commit 530e072

Browse files
committed
Remove Docker Hub publishing and eliminate hardcoded image names
1 parent a9bcb94 commit 530e072

File tree

4 files changed

+4
-17
lines changed

4 files changed

+4
-17
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
tags:
77
- "v*.*"
88

9-
env:
10-
DOCKERHUB_IMAGE: dash14/buildcage
11-
GHCR_IMAGE: ghcr.io/dash14/buildcage
12-
139
jobs:
1410
build-and-push:
1511
runs-on: ubuntu-latest
@@ -31,21 +27,13 @@ jobs:
3127
id: meta
3228
uses: docker/metadata-action@v5
3329
with:
34-
images: |
35-
${{ env.DOCKERHUB_IMAGE }}
36-
${{ env.GHCR_IMAGE }}
30+
images: ghcr.io/${{ github.repository }}
3731
tags: |
3832
type=semver,pattern={{version}}
3933
type=semver,pattern={{major}}.{{minor}}
4034
type=semver,pattern={{major}}
4135
type=raw,value=latest
4236
43-
- name: Login to Docker Hub
44-
uses: docker/login-action@v3
45-
with:
46-
username: ${{ secrets.DOCKERHUB_USERNAME }}
47-
password: ${{ secrets.DOCKERHUB_TOKEN }}
48-
4937
- name: Login to GHCR
5038
uses: docker/login-action@v3
5139
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Starts the buildcage builder container.
200200

201201
| Parameter | Required | Default | Description |
202202
|-----------|----------|---------|-------------|
203-
| `buildcage_image` | No | `ghcr.io/dash14/buildcage` | Docker image name |
203+
| `buildcage_image` | No | `ghcr.io/<owner>/<repo>` | Docker image name |
204204
| `buildcage_version` | No | `1` | Image tag |
205205
| `proxy_mode` | No | `restrict` | Operation mode (`audit` / `restrict`) |
206206
| `allowed_http_domains` | No | empty | Allowed HTTP domains (comma-separated, without port) |

setup/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ description: Start buildcage builder container
33

44
inputs:
55
buildcage_image:
6-
description: "Docker image name (e.g. ghcr.io/dash14/buildcage, dash14/buildcage)"
6+
description: "Docker image name (default: ghcr.io/<owner>/<repo>)"
77
required: false
8-
default: 'ghcr.io/dash14/buildcage'
98
buildcage_version:
109
description: "Image tag"
1110
required: false

setup/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
builder:
3-
image: ${BUILDCAGE_IMAGE:-ghcr.io/dash14/buildcage}:${BUILDCAGE_VERSION:-1}
3+
image: ${BUILDCAGE_IMAGE}:${BUILDCAGE_VERSION:-1}
44
privileged: true
55
ports:
66
- "${PORT:-1234}:1234"

0 commit comments

Comments
 (0)