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
Some checks failed
Build and Push Docker Image / build (push) Failing after 19s
This commit is contained in:
@@ -30,10 +30,10 @@ jobs:
|
||||
|
||||
- name: Login to Registry
|
||||
# Gitea automatically provides these secrets:
|
||||
# - GITEA_ACTOR - The username of the user who triggered the workflow
|
||||
# - GITEA_TOKEN - An automatically generated token with appropriate permissions
|
||||
# - `gitea.actor` - The username of the user who triggered the workflow
|
||||
# - `gitea.token` - An automatically generated token with appropriate permissions
|
||||
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
|
||||
uses: docker/build-push-action@v5
|
||||
|
||||
Reference in New Issue
Block a user