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]
|
||||
name = "woodpecker-buildkit"
|
||||
name = "ci-buildkit-plugin"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
@ -2,11 +2,12 @@ FROM rust:alpine AS builder
|
|||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
RUN apk add --no-cache musl-dev
|
||||
RUN cargo install --path .
|
||||
|
||||
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
|
||||
|
||||
CMD ["buildkit-plugin"]
|
||||
|
|
Reference in a new issue