mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
Expose GITHUB_TOKEN as Docker secret
Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
1137155331
commit
b4cd05cfe8
1 changed files with 4 additions and 2 deletions
6
.github/workflows/deploy-production.yml
vendored
6
.github/workflows/deploy-production.yml
vendored
|
@ -54,9 +54,10 @@ jobs:
|
|||
BUILD_DATE=${{ env.BUILD_DATE }}
|
||||
BUILD_REVISION=${{ github.sha }}
|
||||
BUILD_VERSION=${{ github.sha }}
|
||||
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
load: true
|
||||
push: false
|
||||
secrets: |
|
||||
GITHUB_TOKEN=GITHUB_TOKEN${{ secrets.GITHUB_TOKEN }}
|
||||
tags: |
|
||||
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}${{ github.sha }}
|
||||
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}test
|
||||
|
@ -179,9 +180,10 @@ jobs:
|
|||
BUILD_DATE=${{ env.BUILD_DATE }}
|
||||
BUILD_REVISION=${{ github.sha }}
|
||||
BUILD_VERSION=${{ github.sha }}
|
||||
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
load: false
|
||||
push: true
|
||||
secrets: |
|
||||
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
tags: |
|
||||
github/super-linter:${{ matrix.images.container-image-id-prefix }}latest
|
||||
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}latest
|
||||
|
|
Loading…
Reference in a new issue