Compare commits

..

No commits in common. "bc584be495d8d045923b72671144e8b6cc195009" and "a22a6f2268008e395953643563869b68735fefba" have entirely different histories.

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"