mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
pass secrets.
This commit is contained in:
@@ -11,6 +11,8 @@ jobs:
|
||||
with:
|
||||
platforms: linux/amd64
|
||||
dockerfile: Dockerfile
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
build-apps:
|
||||
uses: ./.github/workflows/image_app.yml
|
||||
@@ -37,3 +39,5 @@ jobs:
|
||||
name: ${{ matrix.name }}
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
@@ -12,6 +12,8 @@ jobs:
|
||||
flavor: arm
|
||||
platforms: linux/arm64
|
||||
dockerfile: Dockerfile
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
build-apps:
|
||||
uses: ./.github/workflows/image_app.yml
|
||||
@@ -33,3 +35,5 @@ jobs:
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
flavor: arm
|
||||
platforms: linux/arm64
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
@@ -12,6 +12,8 @@ jobs:
|
||||
flavor: intel
|
||||
platforms: linux/amd64
|
||||
dockerfile: Dockerfile.intel
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
build-apps:
|
||||
uses: ./.github/workflows/image_app.yml
|
||||
@@ -39,3 +41,5 @@ jobs:
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
flavor: intel
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
@@ -12,6 +12,8 @@ jobs:
|
||||
flavor: nvidia
|
||||
platforms: linux/amd64
|
||||
dockerfile: Dockerfile.nvidia
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
build-apps:
|
||||
uses: ./.github/workflows/image_app.yml
|
||||
@@ -35,3 +37,5 @@ jobs:
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
flavor: nvidia
|
||||
platforms: linux/amd64
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||
|
||||
@@ -22,6 +22,10 @@ on:
|
||||
type: string
|
||||
default: "linux/amd64"
|
||||
description: "The platforms to build for."
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN:
|
||||
required: true
|
||||
description: "GitHub Container Registry access token."
|
||||
|
||||
env:
|
||||
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
||||
|
||||
@@ -18,6 +18,10 @@ on:
|
||||
type: string
|
||||
default: "linux/amd64"
|
||||
description: "The platforms to build for."
|
||||
secrets:
|
||||
GHCR_ACCESS_TOKEN:
|
||||
required: true
|
||||
description: "GitHub Container Registry access token."
|
||||
|
||||
env:
|
||||
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
||||
|
||||
Reference in New Issue
Block a user