Update .github/workflows/main.yml
Some checks failed
Jekyll site CI / docker (push) Failing after 12s

This commit is contained in:
2025-05-26 12:23:19 +02:00
parent 3128c6edc7
commit d7a02e7f0d

View File

@ -10,17 +10,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Debug - Print Gitea context
run: |
echo "LOCAL_REGISTRY variable is: ${{ vars.LOCAL_REGISTRY }}"
echo "Gitea Actor: ${{ gitea.actor }}"
echo "Repository Owner: ${{ gitea.repository_owner }}"
echo "Repository Name: ${{ gitea.repository_name }}"
echo "SHA: ${{ gitea.sha }}"
echo "Ref: ${{ gitea.ref }}"
echo "Ref Name: ${{ gitea.ref_name }}"
echo "Ref Type: ${{ gitea.ref_type }}"
- name: Login to Gitea Package Registry
# (Test credentials early, befor failing late in the process.)
@ -50,6 +39,8 @@ jobs:
context: .
platforms: linux/amd64 # ,linux/arm64
push: true
cache-from: type=gha # Optional: Use Gitea/GitHub Actions cache
cache-to: type=gha,mode=max # Optional: Use Gitea/GitHub Actions cache
tags: |
${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/website:latest
${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/website:${{ gitea.sha }}