ci: use REGISTRY_TOKEN for container registry push
All checks were successful
Build & Deploy to K3s / Build & Deploy (push) Successful in 7m24s
All checks were successful
Build & Deploy to K3s / Build & Deploy (push) Successful in 7m24s
This commit is contained in:
parent
b568b14a42
commit
681745f08f
1 changed files with 2 additions and 6 deletions
|
|
@ -4,10 +4,6 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
name: Build & Deploy
|
name: Build & Deploy
|
||||||
|
|
@ -27,8 +23,8 @@ jobs:
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.cloonar.com
|
registry: git.cloonar.com
|
||||||
username: ${{ github.repository_owner }}
|
username: openclawd
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue