Skip to content

Commit

Permalink
ci: make checks into errors instead of warnings
Browse files Browse the repository at this point in the history
skip the check SecretsUsedInArgOrEnv, since it is a false positive in all cases in this repo
  • Loading branch information
Totto16 committed Dec 17, 2024
1 parent ddc968e commit e75a832
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ jobs:
command: |
docker build --pull \
-t haskell:${{ matrix.ghc }}-${{ matrix.deb }} \
${{ matrix.ghc_minor }}/${{ matrix.deb }}
${{ matrix.ghc_minor }}/${{ matrix.deb }} \
--build-arg "BUILDKIT_DOCKERFILE_CHECK=skip=SecretsUsedInArgOrEnv;error=true"
- uses: actions/checkout@v4
with:
repository: docker-library/official-images
Expand Down Expand Up @@ -135,7 +136,8 @@ jobs:
docker build --pull --progress=plain \
--platform "linux/${{ matrix.docker_platform }}" \
-t haskell:${{ matrix.ghc }}-${{ matrix.deb }} \
${{ matrix.ghc_minor }}/${{ matrix.deb }}
${{ matrix.ghc_minor }}/${{ matrix.deb }} \
--build-arg "BUILDKIT_DOCKERFILE_CHECK=skip=SecretsUsedInArgOrEnv;error=true"
echo 'testing..'
docker run \
--platform "linux/${{ matrix.docker_platform }}" \
Expand Down

0 comments on commit e75a832

Please sign in to comment.