Skip to content
Snippets Groups Projects
Verified Commit 85bdb96e authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Add CI/CD

parent 0f250c2c
No related branches found
Tags 0.1.0-alpha
No related merge requests found
Pipeline #15464 passed
stages:
- test
- build
test:
image: rust:1.82.0-slim-bookworm
stage: test
script:
- cargo test
include:
- component: gitlab.sauerburger.com/sauerburger-it/devops/kaniko-build@0.2.1-alpha
FROM rust:1.82.0-slim-bookworm as builder
WORKDIR /app
COPY Cargo.* /app/
COPY src /app/src/
RUN cargo build --release
FROM debian:bookworm-slim
COPY --from=builder /app/target/release/tcpjunction /bin/tcpjunction
CMD ["tcpjunction"]
fn main() {}
\ No newline at end of file
fn main() {
println!("TCP Junction")
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment