Compare commits

...

2 Commits

Author SHA1 Message Date
f7dd8b24f4 fix(ci): disable GitHub Actions cache and attestation for Gitea
Some checks failed
release server / resolve build metadata (push) Successful in 6s
release server / create release (push) Has been cancelled
release server / release summary (push) Has been cancelled
release server / build fluxer server (push) Has been cancelled
The GHA cache and attestation features don't exist in Gitea and were
causing the workflow to timeout/fail even though the build succeeded.
Disabled these GitHub-specific features.
2026-03-01 13:09:34 -05:00
84ec7653d2 docs: document successful Docker build
Successfully built fluxer-server image for both amd64 and arm64.
Image pushed to Gitea container registry with multiple tags.
All critical patches from third-party guide applied.
2026-03-01 12:55:08 -05:00
2 changed files with 35 additions and 14 deletions

View File

@@ -165,17 +165,19 @@ jobs:
BUILD_NUMBER=${{ needs.meta.outputs.build_number }}
BUILD_TIMESTAMP=${{ needs.meta.outputs.timestamp }}
RELEASE_CHANNEL=${{ needs.meta.outputs.channel }}
cache-from: type=gha,scope=server-${{ needs.meta.outputs.channel }}
cache-to: type=gha,mode=max,scope=server-${{ needs.meta.outputs.channel }}
provenance: true
sbom: true
# GitHub Actions cache not available in Gitea - disabled
# cache-from: type=gha,scope=server-${{ needs.meta.outputs.channel }}
# cache-to: type=gha,mode=max,scope=server-${{ needs.meta.outputs.channel }}
provenance: false
sbom: false
- name: attest
uses: actions/attest-build-provenance@v2
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_SERVER }}
subject-digest: ${{ steps.build.outputs.digest }}
push-to-registry: true
# GitHub-specific attestation - not available in Gitea
# - name: attest
# uses: actions/attest-build-provenance@v2
# with:
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_SERVER }}
# subject-digest: ${{ steps.build.outputs.digest }}
# push-to-registry: true
create-release:
name: create release

View File

@@ -75,15 +75,34 @@ Gitea registry format is typically:
If the registry requires a different format, check your Gitea container registry settings.
## Docker Build Fixes Applied
Successfully built fluxer-server Docker image! Fixes applied:
1. ✅ Fixed package path (app → app_proxy)
2. ✅ Added Rust/WASM toolchain for frontend
3. ✅ Added ca-certificates
4. ✅ Fixed .dockerignore (locale files, emoji data, build scripts)
5. ✅ Set FLUXER_CONFIG environment variable
6. ✅ Updated ENTRYPOINT to target @fluxer/server
7. ✅ Removed redundant typecheck step
8. ✅ Generated locale files before build (lingui:compile)
9. ✅ Reinstalled dependencies after copying source
10. ✅ Allowed scripts/build directory in .dockerignore
**Built image tags:**
- `git.i5.wtf/fluxerapp/fluxer-server:nightly`
- `git.i5.wtf/fluxerapp/fluxer-server:nightly-20260301`
- `git.i5.wtf/fluxer-server:sha-2e9010d`
## TODO
- [x] Modify GitHub Actions workflows for Gitea compatibility
- [ ] Fix container registry authentication
- [ ] Apply patches from third-party guide (if needed)
- [x] Fix container registry authentication
- [x] Apply patches from third-party guide
- [x] Build Docker image
- [ ] Configure for uwu.lc domain
- [ ] Test CI on Gitea instance
- [ ] Build Docker image
- [ ] Deploy to production
- [ ] Set up backing services (Valkey, NATS, Meilisearch, LiveKit)
## Resources