pass secrets.
This commit is contained in:
parent
bd648230b5
commit
9bca3a9a09
6 changed files with 24 additions and 0 deletions
4
.github/workflows/ghcr_amd64.yml
vendored
4
.github/workflows/ghcr_amd64.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
4
.github/workflows/ghcr_arm.yml
vendored
4
.github/workflows/ghcr_arm.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
4
.github/workflows/ghcr_intel.yml
vendored
4
.github/workflows/ghcr_intel.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
4
.github/workflows/ghcr_nvidia.yml
vendored
4
.github/workflows/ghcr_nvidia.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
4
.github/workflows/image_app.yml
vendored
4
.github/workflows/image_app.yml
vendored
|
|
@ -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) || '' }}
|
||||
|
|
|
|||
4
.github/workflows/image_base.yml
vendored
4
.github/workflows/image_base.yml
vendored
|
|
@ -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) || '' }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue