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:
|
with:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
secrets:
|
||||||
|
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
|
|
@ -37,3 +39,5 @@ jobs:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
dockerfile: ${{ matrix.dockerfile }}
|
||||||
platforms: linux/amd64
|
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
|
flavor: arm
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
secrets:
|
||||||
|
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
|
|
@ -33,3 +35,5 @@ jobs:
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
dockerfile: ${{ matrix.dockerfile }}
|
||||||
flavor: arm
|
flavor: arm
|
||||||
platforms: linux/arm64
|
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
|
flavor: intel
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
dockerfile: Dockerfile.intel
|
dockerfile: Dockerfile.intel
|
||||||
|
secrets:
|
||||||
|
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
|
|
@ -39,3 +41,5 @@ jobs:
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
dockerfile: ${{ matrix.dockerfile }}
|
||||||
flavor: intel
|
flavor: intel
|
||||||
platforms: linux/amd64
|
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
|
flavor: nvidia
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
dockerfile: Dockerfile.nvidia
|
dockerfile: Dockerfile.nvidia
|
||||||
|
secrets:
|
||||||
|
GHCR_ACCESS_TOKEN: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
build-apps:
|
build-apps:
|
||||||
uses: ./.github/workflows/image_app.yml
|
uses: ./.github/workflows/image_app.yml
|
||||||
|
|
@ -35,3 +37,5 @@ jobs:
|
||||||
dockerfile: ${{ matrix.dockerfile }}
|
dockerfile: ${{ matrix.dockerfile }}
|
||||||
flavor: nvidia
|
flavor: nvidia
|
||||||
platforms: linux/amd64
|
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
|
type: string
|
||||||
default: "linux/amd64"
|
default: "linux/amd64"
|
||||||
description: "The platforms to build for."
|
description: "The platforms to build for."
|
||||||
|
secrets:
|
||||||
|
GHCR_ACCESS_TOKEN:
|
||||||
|
required: true
|
||||||
|
description: "GitHub Container Registry access token."
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
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
|
type: string
|
||||||
default: "linux/amd64"
|
default: "linux/amd64"
|
||||||
description: "The platforms to build for."
|
description: "The platforms to build for."
|
||||||
|
secrets:
|
||||||
|
GHCR_ACCESS_TOKEN:
|
||||||
|
required: true
|
||||||
|
description: "GitHub Container Registry access token."
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
FLAVOR_PREFIX: ${{ inputs.flavor && format('{0}-', inputs.flavor) || '' }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue