From 22a746d0feb078b269a67326688805e73e0b82f8 Mon Sep 17 00:00:00 2001 From: grondinalexandre Date: Mon, 6 Jul 2026 23:58:23 +0200 Subject: [PATCH] CI: fix docker login registry (REGISTRY_USERNAME/PASSWORD au lieu du token auto sans droits packages) Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/release.yml | 4 +++- .idea/.gitignore | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ba1e884..04c4ef7 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -26,8 +26,10 @@ jobs: id: ver run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT" + # Le token auto GITEA_TOKEN n'a PAS de droit push sur le registry de paquets + # (→ "unauthorized"). On utilise les secrets registry (niveau utilisateur). - name: Connexion au registry Gitea - run: echo "${{ secrets.GITEA_TOKEN }}" | docker login "$REGISTRY" -u "${{ github.actor }}" --password-stdin + run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login "$REGISTRY" -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin - name: Build & push de l'image run: | diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml