From 9bf3a22bf568273c59bab1ed44ba1c167149a5e1 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 2 Jul 2025 22:33:38 +0200 Subject: [PATCH] update containerfile --- .gitea/workflows/container.yaml | 12 ------------ Cargo.lock | 2 +- Containerfile | 2 +- Jenkinsfile | 1 + little-hesinde/Cargo.toml | 2 +- 5 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 .gitea/workflows/container.yaml create mode 100644 Jenkinsfile diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml deleted file mode 100644 index e48b3fd..0000000 --- a/.gitea/workflows/container.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: Build Multiarch Container Image -on: [push] -jobs: - call-reusable-workflow: - uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main - with: - repository: ${{ gitea.repository }} - ref_name: ${{ gitea.ref_name }} - sha: ${{ gitea.sha }} - registry_url: ${{ secrets.REGISTRY_URL }} - registry_user: ${{ secrets.REGISTRY_USER }} - registry_pw: ${{ secrets.REGISTRY_PW }} diff --git a/Cargo.lock b/Cargo.lock index ce835c4..c4efe4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1222,7 +1222,7 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" [[package]] name = "little-hesinde" -version = "0.3.1" +version = "0.3.4" dependencies = [ "axum", "calibre-db", diff --git a/Containerfile b/Containerfile index d82e1ec..efe686e 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM docker.io/rust:1-alpine3.20 AS builder +FROM docker.io/rust:1-alpine3.22 AS builder RUN mkdir /tmp/tmp RUN echo "hesinde:x:2222:2222:Linux User,,,:/:/app" > /passwd diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..a8bfde8 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +multiarch_container() diff --git a/little-hesinde/Cargo.toml b/little-hesinde/Cargo.toml index 71cfa6e..042a162 100644 --- a/little-hesinde/Cargo.toml +++ b/little-hesinde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "little-hesinde" -version = "0.3.1" +version = "0.3.4" edition = "2024" license = { workspace = true } authors = { workspace = true }