From 18954d0ef332defb142c29d184389710ef8a596d Mon Sep 17 00:00:00 2001 From: streaper2 Date: Wed, 15 Apr 2026 20:00:46 +0000 Subject: [PATCH] Actualiser .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 8e65115..3056a11 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,25 +1,23 @@ name: Build and Push App on: push: - branches: [ "main" ] # Déclenche le build au push sur la branche main + branches: [ "main" ] jobs: build: runs-on: ubuntu-latest + # FORCE l'image ici pour être sûr d'avoir l'outil Docker + container: + image: catthehacker/ubuntu:act-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Login to Gitea Registry run: | - # Utilise le secret GITEA_TOKEN que tu as ajouté dans les paramètres du dépôt echo "${{ secrets.GITEA_TOKEN }}" | docker login git.home.arrondeau.fr -u ${{ gitea.actor }} --password-stdin - name: Build and Push Docker Image run: | - # Construction de l'image - # Le Dockerfile doit contenir l'installation d'openssl pour Prisma docker build -t git.home.arrondeau.fr/${{ gitea.repository }}:latest . - - # Envoi vers la registry Gitea docker push git.home.arrondeau.fr/${{ gitea.repository }}:latest \ No newline at end of file