Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7efef1d4a | ||
|
|
36f713a809 |
+13
-16
@@ -1,39 +1,36 @@
|
||||
# IPCR Forge: builds the forge service's image (forge/Dockerfile) for every v* tag pushed to this repository's Gitea copy, and pushes it
|
||||
# to the forge's staging registry; IPCR imports it from there within a minute and publishes it on
|
||||
# IPFS under the forge's name (<forge>/ipcr/ipcr-forge, and ipcr-forge at the root).
|
||||
# IPCR Forge: builds the forge service's image (forge/Dockerfile) for every v* tag pushed to this repository on Gitea (gitea-yunderalabs.nsl.sh),
|
||||
# pushed to the IPCR app on the same server; IPCR publishes it on IPFS within seconds, under its name
|
||||
# (ipcrteam.eth): ipcr-yunderalabs.nsl.sh/ipns/ipcrteam.eth/<owner>/<repo>:<version>.
|
||||
#
|
||||
# GitHub ignores .gitea/ (it runs .github/workflows/image.yml → ghcr.io), and Gitea ignores
|
||||
# .github/ as soon as this folder exists: one repository, one workflow on each side.
|
||||
#
|
||||
# runs-on: ipcr the forge's own runner, the only one that reaches the staging registry
|
||||
# localhost:5000 that registry, logged in to as this repository (IPCR_PUSH_TOKEN, a
|
||||
# secret the forge sets on every repository allowed to publish)
|
||||
# network=host so buildx's builder can reach it too
|
||||
# runs-on: ubuntu-latest the Gitea app's own runner (Docker-in-Docker)
|
||||
# ipcr-push-yunderalabs… IPCR's push endpoint; login <owner> with IPCR_PUSH_TOKEN, a namespace
|
||||
# token from the IPCR dashboard (Push tokens), set as an Actions secret
|
||||
# on the organisation
|
||||
name: ipcr
|
||||
on:
|
||||
push:
|
||||
tags: ['v*']
|
||||
env:
|
||||
IPCR_PUSH: ipcr-push-yunderalabs.nsl.sh
|
||||
jobs:
|
||||
image:
|
||||
runs-on: ipcr
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: localhost:5000
|
||||
username: ${{ github.repository }}
|
||||
registry: ${{ env.IPCR_PUSH }}
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.IPCR_PUSH_TOKEN }}
|
||||
- uses: docker/metadata-action@v5
|
||||
id: meta
|
||||
with:
|
||||
images: localhost:5000/${{ github.repository }}
|
||||
images: ${{ env.IPCR_PUSH }}/${{ github.repository }}
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=raw,value=latest
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
driver-opts: network=host
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: forge
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ own runner (labels `ipcr` and `ubuntu-latest`/`-24.04`/`-22.04`). It cannot sit
|
||||
Gitea, Radicle or IPCR apps (same container names, domains, ports).
|
||||
|
||||
A split listing (`Apps/IPCR-Forge`, the forge on top of the store's Gitea app and, optionally, its
|
||||
Radicle app) existed until IPCR 1.7.0. It was retired: beside a stock Gitea, what is wanted is a
|
||||
Radicle app) existed until IPCR 1.7.1. It was retired: beside a stock Gitea, what is wanted is a
|
||||
registry, not a forge, and the IPCR app is now that registry, with its own push tokens, dashboard and
|
||||
public pulls, and no Gitea or Radicle knowledge
|
||||
([push.md](https://github.com/Yundera/ipcr/blob/main/docs/push.md)). What it cost, for the record: the
|
||||
|
||||
Reference in New Issue
Block a user