* refactor(dockerfile): optimize Docker builds
Combined multiple run commands into single statements in both main and CI dockerfiles, leveraging Docker's caching mechanism more effectively. This change aims to reduce image size and build time.
* hmm.
* Update ci.Dockerfile
* newline
* what about this
* three quorum members, three opinions
* true believer, right?
* when needed
* it sounds like music
* equals what
* really though, what?
* which one of you is the captain
* is that Kwejian whiskey
* ARG
* ARGH
* k.
* take me to your leader
* asd
* Update ci.Dockerfile
* try cache
* Revert
* Run Seperate platforms
* docker_build
* mother
* aggressive elephant
* leave me to my bath
* introduce buildx cache
* czechout manifests
* front left paw
* kill tags
* dealing with a child
* Update release.yml
* try outputs
* consolidation
* - =
* oxygen depleted
* where's the soup
* thanks buildx
* what's a little avx among friends
* Fine, I'll bring my own matches
* zenuuuu
* space, the final frontier
* but why
* ARE YOU HAPPY NOW
* link those binaries
* fast fail
* just the time killer you need
* add back generic arm
* ruthless dictator barbie
* kat
* build: docker add more labels
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* feat(web): use pnpm packageManager on package.json
* build(web): add frozen-lockfile to Makefile
* build(docker): use the same node version as Docker image
* build(docker): enable corepack
* build(makefile): use --dir instead of cd for pnpm
* flip to npm
* try pnpm
* nothing good started with p anyway
* I want to go outside.
* Split out deps and build
* 30 seconds on the fetch, reintroduce the p
* lock it in
* flip lock file to pnpm
* nuke yarn.lock
* kirby no longer has yarn
* flip goreleaser to v4, was using node12.
* snapshots don't have tags
* Update README.md
* pin offline dockerfile
* Delete .yarnrc.yml
* Delete web/.yarn directory
* fix: update scripts
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* removed react-app type instead use vite.
* removed index.html from public since vite uses it from root: read more: https://vitejs.dev/guide/#index-html-and-project-root
* yarn.lock update.
* added vite config file. With commented rollUp option if we want the build to be called build but using default stuff for now.
* updated tsconfig to use vite and include vite.config.ts
* changed package json build commands to use vite.
* for some reason there is an error in vite config when we put project as tsconfig.json.
* build.go updated to use the new dist folder.
* refactored as well updated to use dist and web.AssetHandler again.
* Fixed issue forcing the frontend to be reloaded for all routes to work if logged in fresh without reloading it will always go back to dashboard.
* updated it to use the new function; need to fix the Index for baseUrl I believe, if enabled it works except logs route will crash due to cors.
* refactored and default port to 7474, don't think we need the rollUpOptions.
* added tmp/ to ignore .
* init air.toml, for dev hot reloading both app and backend. https://github.com/cosmtrek/air run it using air but make sure it's in PATH
* updated the start command to build and watch for changes, works great with air.
* revert
* added proxy for vite config. To be used for dev.
* refactor: I think this should fix it, when logs route etc getting accessed usually it throws error but by getting rid of the catch-all it should work as intended, since web.RegisterHandler(r) will catch the unmatched ones.
* fix: baseurl and build
* fix(build): docker ignore !web/dist
* fix(build): dockerignore add exclusions
* docs: update README.md
* build: update postcss config
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: ze0s <ze0s@riseup.net>
* feat(rss): implement relative URL support
* bp had some words
* feat(gh): uplift golang to 1.19.1
* feat(docker): uplift golang to 1.19
* feat(docker): uplift to go 1.19
* cleanup
* chore: update go version in go.mod
* feat: refactor and add test feed process item
* unescape query params after join
* break out logic into separate method
* add tests
* Update Docker workflow
add buildx and qemu to support mulitarch builds
configure arm, arm64 and amd64 builds
* Change yarn timeout
fixes issue with yarn install timing out
* chore: update gitignore
* chore: add gitignore for web dir
* chore(web): upgrade to yarn2
* build: update actions and push docker hub
* build: add yarnrc and network-timeout
* build: unifi workflow
* build: depend on web to build first
* build: store artifacts between jobs
* build: store artifacts between jobs
* build: store artifacts between jobs
* build: store artifacts between jobs
* build: adjust dockerignore
* build: conditional extract metadata
* build: conditional extract metadata
* build: always push docker hub
* build: skip docker hub for now
* build: fix metadata