Commit graph

12 commits

Author SHA1 Message Date
Max
b210758370 fix(workflows): update R2 bucket and asset paths for consistency across workflows
- Changed default R2_BUCKET from 'get-yaoapps' to 'releases' for better alignment with asset management.
- Updated asset prefix paths in multiple workflows to remove 'releases/' prefix, ensuring uniformity in asset retrieval.
- Enhanced localization in command outputs to reflect updated CDN URLs for better user experience.
2026-04-19 17:55:14 +08:00
Max
2eca43f1c5 refactor(build): standardize artifact naming and streamline workflows
- Updated Makefile to remove "unstable" suffix from artifact names for both Linux and macOS builds, enhancing consistency.
- Simplified version retrieval in GitHub workflows, ensuring a more straightforward approach to version management.
- Consolidated Docker build steps to support multi-architecture builds, improving efficiency and clarity in the release process.
- Removed deprecated production-slim Dockerfile, streamlining the Docker setup.

Made-with: Cursor
2026-03-16 09:10:47 +08:00
Max
76159373e5 feat: add production builds with -s -w stripping and UPX compression
- Add prod builds (stripped) and prod-upx builds (compressed) for Linux
- Add prod builds (stripped) for macOS (UPX not supported)
- Add docker/production-slim for slim images using prod-upx binaries
- Update build-docker.yml to build slim variants
- Update build-macos.yml to sign and notarize all 4 variants
- Add BUILDOPTIONS constant to show build flags in version output
- Add make release-all target for building both dev and prod locally

Linux artifacts: 6 variants (dev, prod, prod-upx for amd64/arm64)
macOS artifacts: 4 variants (dev, prod for amd64/arm64)
Docker images: 6 variants (dev, prod, prod-slim for amd64/arm64)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 12:27:37 +08:00
Max
f58aea7459 Update Dockerfiles and GitHub Actions to use version 1.0.0
- Updated the Dockerfiles and GitHub Actions workflows to reference version 1.0.0 of the Yao build environment and Go, ensuring compatibility with the latest features and improvements.
- Adjusted the Go version in the macOS workflow and updated the Dockerfile to install Go 1.25.0, enhancing the build process.
2025-12-20 12:12:57 +08:00
Max
8b7d56a83d fix: Update download URL for Yao binary in Dockerfiles
- Changed the download URL for the Yao binary in both development and production Dockerfiles to a new location.
- Ensured that the binary is still installed correctly with the appropriate permissions.
2025-05-09 15:39:00 +08:00
Max
5bf6044cf0 Update Dockerfiles to use Ubuntu 24.04 and change download source for Yao binary 2024-11-29 14:38:41 +08:00
Max
ceab7754ea [fix] docker image build 2023-04-01 15:14:36 +08:00
Max
c062c6f8ee [change] action workflow & dockerfile 2023-04-01 09:26:18 +08:00
Max
0300f74311 [change] docker file 2022-10-28 23:17:01 +08:00
Max
2926ec99f5 change CDN url for docker release 2022-04-14 17:50:29 +08:00
Max
dc1feb03de + platforms 2022-02-13 19:06:36 +08:00
Max
5bfd1aef44 + docker files 2022-02-13 16:24:57 +08:00