ci: use REGISTRY_TOKEN secret for Gitea container registry push
Build and Push Image / build (push) Successful in 23s
Build and Push Image / build (push) Successful in 23s
This commit is contained in:
1 parent
c61b3f74c2
commit
4a9ec8b2ad
1 file changed
+2
-2
@@ -22,8 +22,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure Registry Auth
|
- name: Configure Registry Auth
|
||||||
env:
|
env:
|
||||||
REG_USER: ${{ gitea.actor }}
|
REG_USER: nandi
|
||||||
REG_PASS: ${{ gitea.token }}
|
REG_PASS: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$HOME/.docker"
|
mkdir -p "$HOME/.docker"
|
||||||
AUTH=$(printf '%s:%s' "$REG_USER" "$REG_PASS" | base64 -w 0)
|
AUTH=$(printf '%s:%s' "$REG_USER" "$REG_PASS" | base64 -w 0)
|
||||||
|
|||||||
Reference in new issue
Block a user