REFACTOR(auth): use gitearegistry secret
- Change to gitearegistry secret for authentication - Update registry credentials
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
run: |
|
||||
echo "${{ secrets.GITEA }}" | docker login ${{ env.REGISTRY }} -u bluemayne --password-stdin
|
||||
echo "${{ secrets.GITEAREGISTRY}}" | docker login ${{ env.REGISTRY }} -u bluemayne --password-stdin
|
||||
|
||||
- name: Lowercase repository name
|
||||
id: lowercase
|
||||
@@ -121,7 +121,7 @@ jobs:
|
||||
|
||||
- name: Update kustomization with new image tag
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEAREGISTRYTOKEN }}
|
||||
run: |
|
||||
git config --global user.name "gitea-actions[bot]"
|
||||
git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com"
|
||||
|
||||
Reference in New Issue
Block a user