maj deploy.
Build and Push Docker Image / build-and-push (push) Successful in 1m19s

This commit is contained in:
xavier committed 2026-10-05 19:57:50 +02:00
1 parent 15d8a9aa05
commit 6dc8c42caa
1 file changed
+20 -12
+20 -12
View File
@@ -1,18 +1,26 @@
name: Deploiement Automatique Aethas38 name: Build and Push Docker Image
on: on:
push: push:
branches: branches: [ main ]
- main
jobs: jobs:
deploy: build-and-push:
runs-on: ubuntu-latest # Correspond au libellé exact de votre capture Gitea runs-on: ubuntu-latest
steps: steps:
- name: Checkout du code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v3
- name: Synchronisation sur le serveur et redémarrage Dockge - name: Log in to Gitea Container Registry
run: | uses: docker/login-action@v2
cd /opt/stacks/codage with:
git pull origin main registry: gitea.aethas38.duckdns.org
docker compose restart aethas38-core username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: gitea.aethas38.duckdns.org/xavier/multi-ia-codage:latest