fix: Try to fix gitea docker repository login failure.
Build and Push Docker Image / changes (push) Successful in 6s
Build and Push Docker Image / build-apache (push) Failing after 7s
Build and Push Docker Image / build-php (push) Failing after 6s

This commit is contained in:
2026-04-16 13:33:55 +02:00
parent 715bb3d6e4
commit adfe2b8a5c
+6
View File
@@ -22,6 +22,12 @@ jobs:
echo "apache=$(git diff --name-only HEAD~1 HEAD | grep '^apache/' | wc -l | grep -q '^0$' && echo false || echo true)" >> $GITHUB_OUTPUT echo "apache=$(git diff --name-only HEAD~1 HEAD | grep '^apache/' | wc -l | grep -q '^0$' && echo false || echo true)" >> $GITHUB_OUTPUT
echo "php=$(git diff --name-only HEAD~1 HEAD | grep '^php/' | wc -l | grep -q '^0$' && echo false || echo true)" >> $GITHUB_OUTPUT echo "php=$(git diff --name-only HEAD~1 HEAD | grep '^php/' | wc -l | grep -q '^0$' && echo false || echo true)" >> $GITHUB_OUTPUT
- name: Test login
run: |
echo "URL: ${{ secrets.REGISTRY_URL }}"
echo "USER: ${{ secrets.REGISTRY_USER }}"
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login ${{ secrets.REGISTRY_URL }} -u ${{ secrets.REGISTRY_USER }} --password-stdin
build-apache: build-apache:
needs: changes needs: changes
if: ${{ needs.changes.outputs.apache == 'true' }} if: ${{ needs.changes.outputs.apache == 'true' }}