9 Commits

Author SHA1 Message Date
hell 89d895baac ci: run the unittest suite on push and pull requests
The repository already ships 70 stdlib unittest cases under tests/, but
.github/workflows/build.yml only builds PyInstaller binaries and images,
so a regression never fails a PR. This adds a tiny Tests workflow that
installs requirements.txt and runs `python -m unittest discover -s tests`
on pushes to main, on every pull request and on demand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 23:11:16 +07:00
PRVT e8ad7d3026 Fix release binary uploads 2026-08-26 15:34:52 +03:00
PRVT f8d1e1b2d0 Fix release binary uploads 2026-08-26 15:22:01 +03:00
hell ec3c750480 Remove temporary pull_request debug trigger
The workflow was validated on a pull request in the fork (all jobs green,
multi-arch manifest pushed to GHCR). Drop the debug-only bits: the
pull_request trigger, the PUSH_IMAGE guard and the pr-<number> tag.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-26 15:12:29 +07:00
hell 48227ae77a Publish Docker images to GHCR from the build workflow
Add a `docker` job to the existing build workflow that builds both image
variants (Dockerfile and Dockerfile.warp) with Buildx and pushes them to
ghcr.io/<owner>/amnezia-panel on pushes to main and on v* tags.

The image name is derived from the repository owner, so forks publish to
their own namespace without any edit. Tags follow the scheme already used
on Docker Hub: latest, <branch>, semver (v1.6.0 / 1.6 / 1) and sha-<short>;
the WARP variant gets the same tags with a -warp suffix.

Docker Hub publishing is untouched. The binary build and release jobs are
unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-26 15:12:28 +07:00
Public relations & Virtual technology 7f062abc2c Update build.yml 2026-05-28 18:24:33 +03:00
Public relations & Virtual technology 72e4154450 Update build.yml 2026-03-17 14:06:47 +03:00
Public relations & Virtual technology 4a2fe67e72 Update Github Actions 2026-03-17 14:02:16 +03:00
Public relations & Virtual technology f2563bdb77 Add method download and run one file
* Add GitHub Actions for Win, Linux, MacOS.
* Update app.py for saving data.json with run binary method
* Add building scripts
2026-03-17 13:57:20 +03:00