From 803ff439096dac8ec8e6c4a5de2c103f7ade2977 Mon Sep 17 00:00:00 2001 From: streaper2 Date: Wed, 15 Apr 2026 20:56:31 +0200 Subject: [PATCH] maj deploy --- .gitea/workflows/deploy.yaml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index bea5acf..adc1e13 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,5 +1,28 @@ -- name: Build and Push - uses: actions/docker/build-push@v4 +name: Deploy Afropreunariat +on: + push: + branches: + - main + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to Registry + uses: docker/login-action@v2 + with: + registry: git.home.arrondeau.fr + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and Push + uses: docker/build-push-action@v4 with: context: . push: true