Compare commits

...

2 Commits

Author SHA1 Message Date
Leon bc584be495 pipeline
Laravel CI-CD (Gitea) / Tests Unitaires (push) Failing after 17s Details
Laravel CI-CD (Gitea) / Build & Push Docker (push) Has been skipped Details
Laravel CI-CD (Gitea) / Déploiement Portainer (push) Has been skipped Details
2026-03-12 14:21:03 +01:00
Leon feb660d55f pipeline 2026-03-12 14:18:11 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ jobs:
uses: actions/docker/login@v2
with:
# Remplacez par l'URL de votre registry Gitea (ex: gitea.votre-domaine.com)
registry: ${{ github.server_url }}
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.GITEA_TOKEN }}
@ -52,7 +52,7 @@ jobs:
IMAGE_NAME="${{ github.repository }}" # Format: user/repo
REGISTRY_URL=$(echo "${{ github.server_url }}" | sed -e 's|https://||')
FULL_IMAGE_NAME="$REGISTRY_URL/$IMAGE_NAME"
docker build -t "$FULL_IMAGE_NAME:${{ github.sha }}" -t "$FULL_IMAGE_NAME:latest" .
docker push "$FULL_IMAGE_NAME:${{ github.sha }}"
docker push "$FULL_IMAGE_NAME:latest"