Compare commits

..

1 Commits

Author SHA1 Message Date
a0ed5d74bb ci: Add Jenkins pipeline
Some checks failed
infra/updatecheck/pipeline/head There was a failure building this commit
2025-11-20 06:51:40 -06:00
2 changed files with 0 additions and 35 deletions

View File

@@ -1,4 +0,0 @@
*
!src
!Cargo.lock
!Cargo.toml

View File

@@ -1,31 +0,0 @@
FROM docker.io/library/alpine AS build
RUN --mount=type=cache,target=/var/cache/apk <<EOS
xargs apk add <<PKGS
cargo
libc-dev
openssl
openssl-dev
rust
PKGS
EOS
WORKDIR /src
COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry <<EOS
set -e
cargo build --release
cp target/release/updatecheck /updatecheck
strip /updatecheck
EOS
FROM docker.io/library/alpine
RUN --mount=type=cache,target=/var/cache/apk apk add libgcc openssl
COPY --from=build /updatecheck /usr/local/bin
ENTRYPOINT ["updatecheck"]