Compare commits
2 Commits
780ab23310
...
01063534ec
Author | SHA1 | Date |
---|---|---|
Dorian | 01063534ec | |
Dorian | 2cee5651e3 |
|
@ -36,7 +36,7 @@ steps:
|
|||
registry: code.birch-tree.net
|
||||
repo: code.birch-tree.net/dorian/mirror-server
|
||||
tags:
|
||||
- 0.3.0
|
||||
- 0.3.1
|
||||
- latest
|
||||
cache_from:
|
||||
- code.birch-tree.net/dorian/mirror-server:latest
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "mirror-server"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
edition = "2021"
|
||||
authors = ["Dorian Pula <dorian.pula@amber-penguin-software.ca>"]
|
||||
description = "A simple server for mirror HTTP requests for testing."
|
||||
|
|
|
@ -20,6 +20,7 @@ RUN cargo build \
|
|||
|
||||
# Bring in the source
|
||||
COPY ["./src/*", "./src/"]
|
||||
COPY ["README.md", "LICENSE", "."]
|
||||
|
||||
# Build the example API.
|
||||
RUN cargo build --release
|
||||
|
|
|
@ -36,7 +36,7 @@ $ docker run -p 8080:8080 code.birch-tree.net/dorian/mirror-server:latest
|
|||
Download the DEB file, and install it:
|
||||
|
||||
```bash
|
||||
VERSION=0.3.0
|
||||
VERSION=0.3.1
|
||||
REPO_URL=https://code.birch-tree.net/api/packages/dorian/generic/mirror-server/
|
||||
curl "${REPO_URL}/${VERSION}/mirror-server_${VERSION}_amd64.deb"
|
||||
sudo dpkg -i "mirror-server-${VERSION}_amd64.deb"
|
||||
|
|
Loading…
Reference in New Issue