arm64
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2025-04-17 08:11:38 +02:00
parent c91e43b65f
commit d673c3bb3c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 19 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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()