File tree Expand file tree Collapse file tree 4 files changed +4
-17
lines changed
Expand file tree Collapse file tree 4 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 66 tags :
77 - " v*.*"
88
9- env :
10- DOCKERHUB_IMAGE : dash14/buildcage
11- GHCR_IMAGE : ghcr.io/dash14/buildcage
12-
139jobs :
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 :
Original file line number Diff line number Diff 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) |
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ description: Start buildcage builder container
33
44inputs :
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
Original file line number Diff line number Diff line change 11services :
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"
You can’t perform that action at this time.
0 commit comments