add registry login using built-in gitea.token
Some checks failed
Docker - build image / 🏗️ Docker builder (latest from master) 🏗️ (push) Failing after 7s

Uses gitea.actor and gitea.token for automatic authentication
to the container registry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 23:59:37 +01:00
parent 052b3c6ae9
commit 8aa2f399df
2 changed files with 12 additions and 0 deletions

View File

@@ -9,6 +9,12 @@ jobs:
name: 🏗️ Docker builder (latest from master) 🏗️
runs-on: dind
steps:
- name: "[docker] registry login"
uses: docker/login-action@v2
with:
registry: git.cynarski.pl
username: ${{ gitea.actor }}
password: ${{ gitea.token }}
- name: "[code] repository checkout"
uses: actions/checkout@v3
- name: "[ledo] Image build"

View File

@@ -9,6 +9,12 @@ jobs:
name: 🏗️ Docker builder release tag 🏗️
runs-on: dind
steps:
- name: "[docker] registry login"
uses: docker/login-action@v2
with:
registry: git.cynarski.pl
username: ${{ gitea.actor }}
password: ${{ gitea.token }}
- name: "[code] repository checkout"
uses: actions/checkout@v3
- name: "[ledo] Image build"