Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
c015d2c5c8 | |||
d70dc6f8fb | |||
2d27d012ef |
3 changed files with 33 additions and 0 deletions
14
.forgejo/publish.yml
Normal file
14
.forgejo/publish.yml
Normal 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
18
Dockerfile
Normal 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" ]
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue