Compare commits

...

3 commits
main ... docker

Author SHA1 Message Date
c015d2c5c8
add pipeline badge 2023-09-03 12:18:56 +02:00
d70dc6f8fb
add woodpecker pipeline 2023-09-03 12:15:32 +02:00
2d27d012ef
add dockerfile 2023-09-03 12:15:25 +02:00
3 changed files with 33 additions and 0 deletions

14
.forgejo/publish.yml Normal file
View file

@ -0,0 +1,14 @@
pipeline:
publish:
image: woodpeckerci/plugin-docker-buildx:2
settings:
platforms: linux/amd64
repo: git.mylloon.fr/${CI_REPO,,}
auto_tag: true
registry: git.mylloon.fr
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
event: push
branch: main

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
# syntax=docker/dockerfile:1
FROM rust:bullseye AS builder
WORKDIR /usr/src/rdab
COPY . .
RUN cargo install --path .
FROM debian:bullseye-slim
RUN mkdir /app
WORKDIR /app
COPY --from=builder /usr/local/cargo/bin/rdab /app/rdab
COPY --from=builder /usr/src/rdab/LICENSE /app/LICENSE
CMD [ "./rdab" ]

View file

@ -3,3 +3,4 @@
Build and share Revanced-APK
[![dependency status](https://deps.rs/repo/gitea/git.mylloon.fr/Anri/rdab/status.svg)](https://deps.rs/repo/gitea/git.mylloon.fr/Anri/rdab)
[![status-badge](https://ci.mylloon.fr/api/badges/69/status.svg)](https://ci.mylloon.fr/repos/69)