try fix ci cd
Laravel CI-CD (Gitea) / Tests Unitaires (push) Successful in 16s Details
Laravel CI-CD (Gitea) / Build & Push Docker (push) Failing after 1m19s Details
Laravel CI-CD (Gitea) / Déploiement Simplifié (push) Has been skipped Details

This commit is contained in:
Leon 2026-03-12 16:12:46 +01:00
parent 069f70aa76
commit d572ebfb71
1 changed files with 3 additions and 5 deletions

View File

@ -35,11 +35,9 @@ jobs:
uses: actions/checkout@v4
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN_GITEA }}
run: |
REGISTRY_DOMAIN=$(echo "${{ github.server_url }}" | sed -e 's|https://||' -e 's|http://||')
echo "${{ secrets.TOKEN_GITEA }}" | docker login "$REGISTRY_DOMAIN" -u "${{ github.actor }}" --password-stdin
- name: Build and Push
run: |