Modified registry authentication to use gitea.ACTOR/gitea.token instead of env variables
Some checks failed
Build and Push Docker Image / build (push) Failing after 19s

This commit is contained in:
Nikola Derežić
2026-01-09 11:54:35 +01:00
parent 8deb647b52
commit ecf5f635f7

View File

@@ -30,10 +30,10 @@ jobs:
- name: Login to Registry - name: Login to Registry
# Gitea automatically provides these secrets: # Gitea automatically provides these secrets:
# - GITEA_ACTOR - The username of the user who triggered the workflow # - `gitea.actor` - The username of the user who triggered the workflow
# - GITEA_TOKEN - An automatically generated token with appropriate permissions # - `gitea.token` - An automatically generated token with appropriate permissions
run: | run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login registry.budakova.org -u "${{ secrets.GITEA_ACTOR }}" --password-stdin echo "${{ gitea.token }}" | docker login registry.budakova.org -u "${{ gitea.actor }}" --password-stdin
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5