From 7d67ce3681223e377fd1b707d6742bb3cd5a8064 Mon Sep 17 00:00:00 2001 From: m Date: Sat, 19 Sep 2026 10:46:13 +0200 Subject: [PATCH] modify image --- .gitea/workflows/ci.yml | 16 ++++++++-------- .gitea/workflows/release.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c2ed801..5df23cf 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,7 +1,7 @@ # Pipeline Gitea Actions pour Kazier — lint + test + build + image registre. # # Prérequis act_runner (une seule fois) : -# - Runner act_runner enregistré contre l'instance Gitea, labels `linux` dispo. +# - Runner act_runner enregistré contre l'instance Gitea, labels `ubuntu-24.04` dispo. # - Executor docker : privilégié (jobs docker:dind + containers) — sinon le # job `docker` et le service `dind` échouent. # - Gitea app.ini : [actions] ENABLED=true, DEFAULT_ACTIONS_URL=https://github.com @@ -32,7 +32,7 @@ env: jobs: lint-backend: - runs-on: linux + runs-on: ubuntu-24.04 container: golang:${{ env.GO_VERSION }}-alpine steps: - uses: actions/checkout@v4 @@ -54,7 +54,7 @@ jobs: working-directory: backend lint-mobile: - runs-on: linux + runs-on: ubuntu-24.04 container: ${{ env.ANDROID_IMAGE }} steps: - uses: actions/checkout@v4 @@ -70,7 +70,7 @@ jobs: working-directory: mobile-kotlin test-backend: - runs-on: linux + runs-on: ubuntu-24.04 container: golang:${{ env.GO_VERSION }}-alpine services: postgres: @@ -95,7 +95,7 @@ jobs: TEST_DATABASE_URL: postgres://kazier:kazier@postgres:5432/kazier_test?sslmode=disable test-mobile: - runs-on: linux + runs-on: ubuntu-24.04 container: ${{ env.ANDROID_IMAGE }} steps: - uses: actions/checkout@v4 @@ -111,14 +111,14 @@ jobs: working-directory: mobile-kotlin build-backend: - runs-on: linux + runs-on: ubuntu-24.04 container: golang:${{ env.GO_VERSION }}-alpine needs: [lint-backend, test-backend] steps: - uses: actions/checkout@v4 - run: | export VERSION="$(cat VERSION)" - CGO_ENABLED=0 GOOS=linux go build \ + CGO_ENABLED=0 GOOS=ubuntu-24.04 go build \ -trimpath \ -ldflags "-s -w -X main.version=${VERSION}" \ -o bin/kazier-server \ @@ -132,7 +132,7 @@ jobs: if-no-files-found: error docker: - runs-on: linux + runs-on: ubuntu-24.04 needs: [build-backend] # Push branches uniquement : pas sur PR (pas de build d'image à la review), # pas sur tag (c'est release.yml qui construit, évite une course dans le diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 70a023a..8303d99 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -26,7 +26,7 @@ env: jobs: release-apk: - runs-on: linux + runs-on: ubuntu-24.04 container: ${{ env.ANDROID_IMAGE }} steps: - uses: actions/checkout@v4 @@ -80,7 +80,7 @@ jobs: -F "attachment=@mobile-kotlin/app/build/outputs/apk/release/app-release.apk" release-docker: - runs-on: linux + runs-on: ubuntu-24.04 container: image: docker:27 env: