From bcc69e40d6717a7cf8f09418062829accad1d510 Mon Sep 17 00:00:00 2001 From: Arne Baeumler Date: Sat, 3 Jan 2026 18:58:00 +0100 Subject: [PATCH] feat: add comments how to add access token for registry login --- .gitea/workflows/publish-docker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish-docker.yml b/.gitea/workflows/publish-docker.yml index 3559ab0..3847667 100644 --- a/.gitea/workflows/publish-docker.yml +++ b/.gitea/workflows/publish-docker.yml @@ -18,9 +18,11 @@ jobs: uses: docker/login-action@v3 with: registry: git.br0tkasten.de - # Gitea provides these variables automatically username: ${{ gitea.actor }} - password: ${{ secrets.TOKEN }} + # access token of the user triggering this action + # in gitea -> user settings -> applications -> new token -> write:packages and write:repositories + # then in gitea -> user settings -> actions -> secrets -> add new secret named "TOKEN" with the value of the access token. + password: ${{ secrets.TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta