Rename the bridge to the forge service; this repository is the add-on

- bridge/ → forge/, module and binary ipcr-forge, image ghcr.io/yundera/ipcr-forge
  (was ipcr-forge-bridge); releases are plain vX.Y.Z tags (workflow image.yml)
- data folders $AppID/bridge/{state,secrets} → $AppID/forge/..., in-container /forge
- docs link to the engine (Yundera/ipcr) instead of relative paths; README
This commit is contained in:
Worph
2026-10-05 13:21:11 +00:00
parent 291564bf1d
commit 98ff2f5783
14 changed files with 169 additions and 128 deletions
+13 -12
View File
@@ -1,13 +1,14 @@
name: bridge
name: image
# IPCR Forge's bridge image (bridge/): Gitea → Radicle mirror + the forge's page.
# IPCR Forge's service image (forge/): Gitea → Radicle mirror, the forge's page and admin, the
# staging gate. ghcr.io/yundera/ipcr-forge; a `vX.Y.Z` tag publishes X.Y.Z.
on:
push:
branches: [main]
tags: ["bridge-v*"]
paths: ["bridge/**", ".github/workflows/bridge.yml"]
tags: ["v*"]
paths: ["forge/**", ".github/workflows/image.yml"]
pull_request:
paths: ["bridge/**", ".github/workflows/bridge.yml"]
paths: ["forge/**", ".github/workflows/image.yml"]
workflow_dispatch:
permissions:
@@ -15,7 +16,7 @@ permissions:
packages: write
env:
IMAGE: ghcr.io/yundera/ipcr-forge-bridge
IMAGE: ghcr.io/yundera/ipcr-forge
jobs:
vet:
@@ -24,9 +25,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: bridge/go.mod
go-version-file: forge/go.mod
- run: test -z "$(gofmt -l .)" && go vet ./... && go test ./...
working-directory: bridge
working-directory: forge
image:
needs: vet
@@ -45,17 +46,17 @@ jobs:
with:
images: ${{ env.IMAGE }}
tags: |
type=match,pattern=bridge-v(.*),group=1
type=semver,pattern={{version}}
type=ref,event=branch
type=sha
# amd64 only: the Radicle CLI is fetched as its x86_64 release, and the Forge listing is
# amd64 only.
- uses: docker/build-push-action@v6
with:
context: bridge
context: forge
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: VERSION=${{ steps.meta.outputs.version }}
cache-from: type=gha,scope=bridge
cache-to: type=gha,mode=max,scope=bridge
cache-from: type=gha,scope=forge
cache-to: type=gha,mode=max,scope=forge