Compare commits

...

2 Commits

Author SHA1 Message Date
Dorian 01063534ec Fix Docker build issue.
continuous-integration/drone/push Build is failing Details
2024-02-24 12:38:29 -05:00
Dorian 2cee5651e3 Bump the version for a new minor release. 2024-02-24 12:35:53 -05:00
4 changed files with 4 additions and 3 deletions

View File

@ -36,7 +36,7 @@ steps:
registry: code.birch-tree.net registry: code.birch-tree.net
repo: code.birch-tree.net/dorian/mirror-server repo: code.birch-tree.net/dorian/mirror-server
tags: tags:
- 0.3.0 - 0.3.1
- latest - latest
cache_from: cache_from:
- code.birch-tree.net/dorian/mirror-server:latest - code.birch-tree.net/dorian/mirror-server:latest

View File

@ -1,6 +1,6 @@
[package] [package]
name = "mirror-server" name = "mirror-server"
version = "0.3.0" version = "0.3.1"
edition = "2021" edition = "2021"
authors = ["Dorian Pula <dorian.pula@amber-penguin-software.ca>"] authors = ["Dorian Pula <dorian.pula@amber-penguin-software.ca>"]
description = "A simple server for mirror HTTP requests for testing." description = "A simple server for mirror HTTP requests for testing."

View File

@ -20,6 +20,7 @@ RUN cargo build \
# Bring in the source # Bring in the source
COPY ["./src/*", "./src/"] COPY ["./src/*", "./src/"]
COPY ["README.md", "LICENSE", "."]
# Build the example API. # Build the example API.
RUN cargo build --release RUN cargo build --release

View File

@ -36,7 +36,7 @@ $ docker run -p 8080:8080 code.birch-tree.net/dorian/mirror-server:latest
Download the DEB file, and install it: Download the DEB file, and install it:
```bash ```bash
VERSION=0.3.0 VERSION=0.3.1
REPO_URL=https://code.birch-tree.net/api/packages/dorian/generic/mirror-server/ REPO_URL=https://code.birch-tree.net/api/packages/dorian/generic/mirror-server/
curl "${REPO_URL}/${VERSION}/mirror-server_${VERSION}_amd64.deb" curl "${REPO_URL}/${VERSION}/mirror-server_${VERSION}_amd64.deb"
sudo dpkg -i "mirror-server-${VERSION}_amd64.deb" sudo dpkg -i "mirror-server-${VERSION}_amd64.deb"