From 572fd3761a8728a5cef9e1173c285fc616acddd0 Mon Sep 17 00:00:00 2001 From: Totto16 Date: Tue, 17 Dec 2024 18:42:30 +0100 Subject: [PATCH] ci: make checks into errors instead of warnings skip the check SecretsUsedInArgOrEnv, since it is a false positive in all cases in this repo --- .github/workflows/debian.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 0222434..814a192 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -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