project: rename to ci-buildkit-plugin
This commit is contained in:
parent
902c871bd1
commit
ec9cc5293b
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "woodpecker-buildkit"
|
name = "ci-buildkit-plugin"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,12 @@ FROM rust:alpine AS builder
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN apk add --no-cache musl-dev
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM alpine:3
|
FROM alpine:3
|
||||||
|
|
||||||
COPY --from=builder /usr/local/cargo/bin/app /usr/local/bin/buildkit-plugin
|
COPY --from=builder /usr/local/cargo/bin/ci-buildkit-plugin /usr/local/bin/buildkit-plugin
|
||||||
COPY --from=moby/buildkit /usr/bin/buildctl /usr/bin/buildctl
|
COPY --from=moby/buildkit /usr/bin/buildctl /usr/bin/buildctl
|
||||||
|
|
||||||
CMD ["buildkit-plugin"]
|
CMD ["buildkit-plugin"]
|
||||||
|
|
Reference in a new issue