parent
c91e43b65f
commit
d673c3bb3c
3 changed files with 19 additions and 16 deletions
|
@ -6,7 +6,7 @@ steps:
|
|||
- name: build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
repo: git.hydrar.de/jmarya/pacco
|
||||
registry: git.hydrar.de
|
||||
tags: latest
|
||||
|
|
|
@ -7,7 +7,7 @@ WORKDIR /app
|
|||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM archlinux
|
||||
FROM git.hydrar.de/navos/navos:latest
|
||||
|
||||
RUN pacman -Syu --noconfirm openssl-1.1 tar xz zstd curl base-devel git rsync
|
||||
|
||||
|
|
|
@ -56,7 +56,9 @@ async fn launch(config: String) {
|
|||
..Default::default()
|
||||
})
|
||||
.mount_assets()
|
||||
.mount("/", routes![
|
||||
.mount(
|
||||
"/",
|
||||
routes![
|
||||
routes::index_page,
|
||||
routes::pkg_route,
|
||||
routes::push::upload_pkg,
|
||||
|
@ -69,7 +71,8 @@ async fn launch(config: String) {
|
|||
routes::user::end_session,
|
||||
routes::user::change_password,
|
||||
routes::user::change_password_post
|
||||
])
|
||||
],
|
||||
)
|
||||
.manage(config)
|
||||
.manage(shell)
|
||||
.launch()
|
||||
|
|
Loading…
Add table
Reference in a new issue