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
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -53,7 +54,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Log in to the registry
|
- name: Log in to the registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.REGISTRY_PASSWORD }}" \
|
echo "${{ secrets.AUDIOMANAGER_REGISTRY_TOKEN }}" \
|
||||||
| docker login "$REGISTRY" \
|
| docker login "$REGISTRY" \
|
||||||
--username "${{ gitea.actor }}" \
|
--username "${{ gitea.actor }}" \
|
||||||
--password-stdin
|
--password-stdin
|
||||||
|
|||||||
Reference in new issue
Block a user