mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
use GHCR_ACCESS_TOKEN.
This commit is contained in:
@@ -30,9 +30,6 @@ jobs:
|
|||||||
build-app:
|
build-app:
|
||||||
name: Build and Publish Application Image
|
name: Build and Publish Application Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
contents: read
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -61,7 +58,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|||||||
@@ -30,9 +30,6 @@ jobs:
|
|||||||
name: Build and Publish Base Image
|
name: Build and Publish Base Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ build-client ]
|
needs: [ build-client ]
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
contents: read
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -67,7 +64,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Generate base Dockerfile
|
- name: Generate base Dockerfile
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user