Update .github/workflows/main.yml
Some checks failed
Jekyll site CI / docker (push) Failing after 10s
Some checks failed
Jekyll site CI / docker (push) Failing after 10s
This commit is contained in:
parent
f760f837ad
commit
b5441ba1ae
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -10,10 +10,17 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Debug Gitea Context
|
||||
env:
|
||||
GITEA_CONTEXT: ${{ toJson(gitea) }}
|
||||
run: |
|
||||
echo "Gitea Context:"
|
||||
echo "$GITEA_CONTEXT"
|
||||
|
||||
- name: Debug - Print Gitea context
|
||||
run: |
|
||||
echo "LOCAL_REGISTRY variable is: ${{ vars.REGISTRY_HOST }}"
|
||||
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 }}"
|
||||
@ -26,7 +33,7 @@ jobs:
|
||||
# (Test credentials early, befor failing late in the process.)
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{vars.REGISTRY_HOST}}
|
||||
registry: ${{vars.LOCAL_REGISTRY}}
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
@ -51,5 +58,5 @@ jobs:
|
||||
platforms: linux/amd64 # ,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
${{ vars.REGISTRY_HOST }}/${{ gitea.repository_owner }}/${{ gitea.repository_name }}:latest
|
||||
${{ vars.REGISTRY_HOST }}/${{ gitea.repository_owner }}/${{ gitea.repository_name }}:${{ gitea.sha }}
|
||||
${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/${{ gitea.repository_name }}:latest
|
||||
${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/${{ gitea.repository_name }}:${{ gitea.sha }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user