Add logging of JSON requests, CI and Dockerization #2

Merged
dorian merged 16 commits from axum-migration into main 2024-02-23 14:33:23 -05:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit b2a6054154 - Show all commits

View File

@ -32,6 +32,6 @@ sudo dpkg -i "mirror-server-${VERSION}_amd64.deb"
* [x] Add mirroring of JSON request.
* [x] Add logging to server.
* [x] Create Docker image for mirror-server for easier distribution.
* [ ] Add publishing of DEB and Docker image to DroneCI.
* [x] Add publishing of DEB and Docker image to DroneCI.
* [ ] Add documentation to the API.
* [ ] Publish crate on <https://crates.io/>.

View File

@ -21,6 +21,8 @@ gitea_server="code.birch-tree.net"
curl --user "${USERNAME}:${PASSWORD}" \
--upload-file "${pkg_full_path}" \
--silent \
-X PUT \
"https://${gitea_server}/api/packages/${USERNAME}/generic/${pkg_name}/${pkg_version}/${pkg_filename}"
echo "Published ${pkg_name} v${pkg_version} ===> ${pkg_filename}"