Commit graph

24 commits

Author SHA1 Message Date
Steven
7465fbb4cc refactor: improve GitHub Actions workflows structure and maintainability
- Add build-binaries workflow for multi-platform binary releases
- Rename workflows for conciseness:
  - demo-render-deploy.yml → demo-deploy.yml
  - build-and-push-canary-image.yml → build-canary-image.yml
  - build-and-push-stable-image.yml → build-stable-image.yml
- Centralize version config with env variables (GO_VERSION, NODE_VERSION, PNPM_VERSION)
- Standardize step names across all workflows
- Add concurrency controls to prevent redundant runs
- Update Node.js (20→22) and pnpm (9→10) versions to match build-binaries
- Improve job names with descriptive labels
- Add consistent comments and formatting
- Set artifact retention to 60 days for binary builds
2026-02-02 23:15:15 +08:00
Salman Chishti
1e82723e88
chore: upgrade GitHub Actions to latest versions (#5528)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-01-26 08:48:07 +08:00
Pádraic Slattery
7fbf3bed85
chore: update outdated GitHub Actions versions (#5522) 2026-01-23 23:22:14 +08:00
Johnny
d7c5641246 fix: correct manifest merge step in workflows
- Re-run docker/metadata-action in merge job to generate proper JSON
- Use steps.meta.outputs.json instead of needs.prepare.outputs.tags
- Remove unused prepare job outputs (tags, labels)
- Simplify workflow dependency chain

This fixes the jq parse error when creating multi-arch manifests.
2026-01-14 22:28:26 +08:00
Johnny
d1d2d86900 perf: optimize CI/CD workflows and Docker builds
- Implement parallel matrix builds for multi-platform images (~50% faster)
- Add pnpm store caching for 20-40s savings on cache hits
- Use --frozen-lockfile for faster, deterministic installs
- Optimize Dockerfile: CGO_ENABLED=0, -trimpath, static linking
- Reduce Docker layers and improve caching strategy
- Enhance .dockerignore to exclude unnecessary files (~1MB saved)

Build time improvements:
- Canary: 12-18min → 6-10min
- Stable: 17-27min → 8-12min
2026-01-14 22:12:28 +08:00
dependabot[bot]
cce52585c4
chore: bump actions/setup-node from 4 to 5 (#5134)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 22:41:45 +08:00
dependabot[bot]
74a44ac3e2
chore: bump actions/checkout from 4 to 5 (#5052)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 22:56:08 +08:00
Steven
c9c07a599c chore: unify action names 2025-06-11 23:39:29 +08:00
johnnyjoy
446447a20c chore: update stable build action 2025-05-11 18:04:15 +08:00
Johnny
33907539cd
chore: merge release action 2025-04-21 21:26:46 +08:00
Steven
e2f5c61e30 fix: docker username in actions 2025-04-16 22:39:58 +08:00
Steven
02f8e0da41 chore: update actions 2025-04-16 22:39:15 +08:00
Johnny
aa8cf44c41 chore: fix entrypoint.sh 2025-04-06 22:44:19 +08:00
Johnny
9dde9f332f chore: move dockerfile 2025-04-06 22:40:26 +08:00
johnnyjoy
3a3ffe633d chore: remove latest tag 2025-02-06 19:48:51 +08:00
johnnyjoy
0e303181a9 chore: update action's title 2025-02-06 19:45:05 +08:00
Steven
f59daf839b chore: fix action 2024-11-02 20:00:00 +08:00
Steven
ae957439ec chore: update build action 2024-11-02 19:56:07 +08:00
Steven
a55afbd3ed chore: tweak build actions 2024-09-25 19:57:14 +08:00
Steven
bdc257d837 chore: tweak release actions 2024-07-26 23:30:16 +08:00
dependabot[bot]
b911e98e37
chore: bump docker/build-push-action from 5 to 6 (#3578)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 22:08:20 +08:00
Steven
d668794c7c chore: update build docker image actions 2024-04-30 22:21:46 +08:00
Steven
af646ce2de refactor: move gomark 2024-01-29 19:14:46 +08:00
Steven
42381fa154 chore: add stable build action 2024-01-18 18:49:06 +08:00