mirror of
https://github.com/vegardit/docker-openldap.git
synced 2026-05-21 12:14:16 +02:00
add TRIVY_GITHUB_TOKEN
This commit is contained in:
parent
a26bbc9b57
commit
90626f2d0e
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
|
@ -52,6 +52,7 @@ jobs:
|
||||||
DOCKER_REGISTRY: docker.io
|
DOCKER_REGISTRY: docker.io
|
||||||
DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
|
DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
DOCKER_REGISTRY_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
|
DOCKER_REGISTRY_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
|
TRIVY_GITHUB_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
if [ "$GITHUB_REF" == "refs/heads/main" ]; then
|
if [ "$GITHUB_REF" == "refs/heads/main" ]; then
|
||||||
export DOCKER_PUSH=1
|
export DOCKER_PUSH=1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue