# 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//:. # # runs-on: ubuntu-latest the Gitea app's own runner (Docker-in-Docker) # ipcr-push-yunderalabs… IPCR's push endpoint; login 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: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: docker/login-action@v3 with: registry: ${{ env.IPCR_PUSH }} username: ${{ github.repository_owner }} password: ${{ secrets.IPCR_PUSH_TOKEN }} - uses: docker/metadata-action@v5 id: meta with: 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 - uses: docker/build-push-action@v6 with: context: forge push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}