Update .github/workflows/main.yml
Some checks failed
Jekyll site CI / docker (push) Failing after 12s
Some checks failed
Jekyll site CI / docker (push) Failing after 12s
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -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 }}
|
||||
|
Reference in New Issue
Block a user