ci: use the dedicated registry token only
This commit is contained in:
1 parent
43a3ac8f0e
commit
726d749580
1 file changed
+2
-2
@@ -53,9 +53,9 @@ 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 || secrets.GITEA_TOKEN }}" \
|
echo "${{ secrets.REGISTRY_PASSWORD }}" \
|
||||||
| docker login "$REGISTRY" \
|
| docker login "$REGISTRY" \
|
||||||
--username "${{ secrets.REGISTRY_USERNAME || gitea.actor }}" \
|
--username "${{ gitea.actor }}" \
|
||||||
--password-stdin
|
--password-stdin
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user