ci: use a dedicated registry token secret
Gitea may reuse the secret snapshot of a rerun; a fresh run with a distinct secret name avoids stale credentials.
This commit is contained in:
1 parent
726d749580
commit
9eed647df0
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
@@ -53,7 +54,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Log in to the registry
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" \
|
||||
echo "${{ secrets.AUDIOMANAGER_REGISTRY_TOKEN }}" \
|
||||
| docker login "$REGISTRY" \
|
||||
--username "${{ gitea.actor }}" \
|
||||
--password-stdin
|
||||
|
||||
Reference in new issue
Block a user