wood chen
e41451d5f8
Update release_docker_image.yaml
2024-10-30 17:04:49 +08:00
e9086e3b78
chore(workflow): add deployment commands to release docker image workflow
2024-10-23 05:48:04 +08:00
4c674c8a9c
refactor: streamline docker image build and push process
2024-10-22 19:15:50 +08:00
f8b23a88f3
chore: Refactor workflow and Makefile, remove test files
2024-10-22 19:06:06 +08:00
a491e9cf49
Remove 'tags' from release workflow ( #354 )
2024-09-05 16:01:21 +08:00
034e7e3834
Bump github.com/valyala/fasthttp from 1.52.0 to 1.55.0 ( #339 )
2024-09-05 15:59:32 +08:00
Nova Kwok
89aea97310
Bump to Go 1.23 ( #353 )
...
* Bump to Go 1.23
* Install docker-compose
2024-08-16 23:43:39 +08:00
Nova Kwok
89ea0affa3
Add MAX_CACHE_SIZE
config ( #344 )
...
* Add MAX_CACHE_SIZE
* Bump actions version
* Optimize code
* Use Ticker to control GC loop
2024-06-29 16:42:00 +08:00
Nova Kwok
43c275e3ec
Adds JPEG XL support, max_height/max_width support ( #321 )
...
* WIP JXL
* Fix test
* Tries to fix autobuild
* Tries to fix autobuild
* Add setup go in codeql
* Bump actions version
* Do not print curl output in CI
* Do not print curl output in CI
* Remove Metadata on RAW image
* Update sample config
* better loop
* Prefetch should also respect AllowedType
* Better Export params and UA handle
* Only do conversion on supported formats
* CONVERT_TYPES default to webp only
* CONVERT_TYPES default to webp only
* Add GIF to AllowedTypes
* Update README
2024-03-22 15:12:09 +08:00
Nova Kwok
12d4cc1a0b
Upgrade to Go 1.22 ( #311 )
2024-02-10 10:00:40 +01:00
Nova Kwok
d67601af66
Fix link in README.md and fix CI permission ( #299 )
2023-11-24 08:32:03 +01:00
Nova Kwok
543af2415f
Better configuration ( #288 )
...
* Better config
* print to log
* Upgrade golang.org/x/net
* Tidy go mods
* export WebpConfig
* Add TestConvertRawToJPG
* Add TestConvertRawToJPG
* Update Integration Tests UA
* Add README for supporting NEF
---------
Co-authored-by: Benny <benny.think@gmail.com>
2023-11-05 18:34:04 +08:00
Nova Kwok
51dde5e5b8
Remove ARMv7 ( #277 )
2023-09-15 10:02:54 +02:00
Nova Kwok
ab4373263d
apt update before apt install ( #265 )
...
* apt update before apt install
* Fix sudo
2023-08-09 23:07:25 +08:00
Nova Kwok
6790ddda46
Add support for Go 1.21, bump version, optimize code ( #264 )
2023-08-09 22:49:40 +08:00
Nova Kwok
773424ca01
Split codecov and CI check ( #249 )
2023-07-06 14:49:10 +02:00
Benny
3699c4991f
fix code cov ( #248 )
2023-07-06 08:23:46 +08:00
Nova Kwok
8d0ecdf4e0
Use QEMU to release ARM64 binary as well ( #246 )
2023-07-05 15:30:44 +08:00
Benny
a2585463ad
build binary using centos 7 ( #245 )
...
fix #236
2023-07-05 10:42:21 +08:00
Benny
13281d929b
add some tests ( #239 )
...
* add some tests
* remove template
---------
Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2023-07-03 17:01:13 +08:00
Benny
23bbed8ce6
Refactor review ( #220 )
...
* runnable
* convert is working
* some refactoring
* update go.mod
* fix some TODOs
* add TODO
* update go mod
* rebase onto master
* fix #234
2: 5.9s - 7.6MB
4: 26s - 6.9MB
* fix malloc tests
* fix malloc tests
* remote TODO
* add X-Real-IP #236
* Better localRawImagePath
* remove some wrong comments
* Bump version to 0.9.0
---------
Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2023-06-27 15:43:43 +02:00
n0vad3v
97613832ef
Add integration tests
2023-05-31 12:51:43 +02:00
Nova Kwok
bfa8aae10c
Try using vips ( #190 )
...
* Try using vips
* No need libaom
* Update code and version
* update
* Fix CI
* Add sudo
* Fix CI
* Make CI happy
* we happy few
* Update README, fix CI
* Add --no-install-recommends
* Update code
* Add ca-certificates for proxymode
* Add pics/invalid.png for testing
* Update README
---------
Co-authored-by: Benny <benny.think@gmail.com>
2023-05-10 10:52:36 +08:00
Nova Kwok
9fba09f19c
Let's try Go 1.20 ( #167 )
...
* Let's try Go 1.20
* Setup-go v3
* Maybe we should quote it
2023-02-02 11:03:41 +01:00
Nova Kwok
68cefb6740
A bunch of fixes ( #161 )
...
* Some updates
* Update Docs as well
2022-12-25 16:19:47 +08:00
Nova Kwok
c15241662e
Make CD Clean ( #159 )
...
* Make CD Clean
* Optimize CI as well
* Fix CI
* Fix CI
2022-12-07 14:51:09 +08:00
Benny
e312010998
use codeql v2 ( #150 )
...
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-10-09 19:49:50 +08:00
Nova Kwok
d104c1fbca
Print all CVE results to PR comment ( #130 )
2022-07-02 15:00:53 +08:00
Nova Kwok
3dd1bae938
Add CVE test on CI ( #129 )
...
* Add CVE test on CI
* Update
* Update
2022-06-30 17:14:07 +08:00
Benny
527825993a
Create codeql-analysis.yml ( #98 )
2022-03-24 15:14:03 +08:00
Nova Kwok
fd3013b2eb
Testing out lower glibc version ( #110 )
...
* Usiing lower glibc version
2022-03-24 14:58:47 +08:00
Nova Kwok
3890db9077
Optimize release procedure ( #94 )
...
* Optimize docker release action
* Added ignored-path on CI
2022-01-05 11:02:28 +08:00
BennyThink
49569b306a
codecov inside GitHub Actions
2021-12-27 14:17:43 +08:00
Benny
b75bcf35d3
push to ghcr ( #90 )
...
* push to ghcr
* remove travis, add badge
2021-12-27 09:48:46 +08:00
Nova Kwok
35c9990e9e
Change docker image name to webpsh/webp-server-go ( #89 )
2021-12-22 22:07:48 +08:00
n0vad3v
6c594a9f3a
Add Action file to release binary on tag
2021-12-12 16:36:53 +08:00
BennyThink
67d40b4397
CI and minor fixes
...
* use GitHub Actions as CI
* bump versions
* Makefile and Dockerfile improvements
* upgrade logrus
2021-12-05 19:21:29 +08:00
BennyThink
66accb3fd9
add github action build
2021-07-31 18:21:09 +08:00