Skip to content

Commit e75a832

Browse files
committed
ci: make checks into errors instead of warnings
skip the check SecretsUsedInArgOrEnv, since it is a false positive in all cases in this repo
1 parent ddc968e commit e75a832

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/debian.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
command: |
6969
docker build --pull \
7070
-t haskell:${{ matrix.ghc }}-${{ matrix.deb }} \
71-
${{ matrix.ghc_minor }}/${{ matrix.deb }}
71+
${{ matrix.ghc_minor }}/${{ matrix.deb }} \
72+
--build-arg "BUILDKIT_DOCKERFILE_CHECK=skip=SecretsUsedInArgOrEnv;error=true"
7273
- uses: actions/checkout@v4
7374
with:
7475
repository: docker-library/official-images
@@ -135,7 +136,8 @@ jobs:
135136
docker build --pull --progress=plain \
136137
--platform "linux/${{ matrix.docker_platform }}" \
137138
-t haskell:${{ matrix.ghc }}-${{ matrix.deb }} \
138-
${{ matrix.ghc_minor }}/${{ matrix.deb }}
139+
${{ matrix.ghc_minor }}/${{ matrix.deb }} \
140+
--build-arg "BUILDKIT_DOCKERFILE_CHECK=skip=SecretsUsedInArgOrEnv;error=true"
139141
echo 'testing..'
140142
docker run \
141143
--platform "linux/${{ matrix.docker_platform }}" \

0 commit comments

Comments
 (0)