ci: publish container image to GHCR
Build and publish container / Test, lint, and build (push) Canceled after 0s
Build and publish container / Build and publish image (push) Canceled after 0s

This commit is contained in:
2026-07-23 02:33:50 +03:00
parent 2c19b7a427
commit 2958752fba
5 changed files with 170 additions and 0 deletions
+19
View File
@@ -41,6 +41,25 @@ npm run lint
npm run build
```
## Container
Run the published image on the default port `5120`:
```bash
docker run --rm -p 5120:5120 ghcr.io/kr0sh512/pomodoro:latest
```
Or build it locally:
```bash
docker build -t pomodoro:local .
docker run --rm -p 5120:5120 pomodoro:local
```
GitHub Actions tests the project and publishes multi-architecture images for `linux/amd64` and
`linux/arm64` to GHCR on pushes to `main` and version tags. Published tags include `latest`,
`main`, version tags, and `sha-<commit>`.
## Architecture
- React and TypeScript for the interface and timer state