feat: add comments how to add access token for registry login
This commit is contained in:
@@ -18,9 +18,11 @@ jobs:
|
|||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.br0tkasten.de
|
registry: git.br0tkasten.de
|
||||||
# Gitea provides these variables automatically
|
|
||||||
username: ${{ gitea.actor }}
|
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
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
Reference in New Issue
Block a user