Check dockerfile during CI, ignore error

This commit is contained in:
Felix Ableitner 2024-11-14 09:50:32 +01:00
parent a9d6d4e6e0
commit 8306ef3edb
2 changed files with 6 additions and 0 deletions

View file

@ -138,6 +138,11 @@ steps:
- diff tmp.schema crates/db_schema/src/schema.rs - diff tmp.schema crates/db_schema/src/schema.rs
when: *slow_check_paths when: *slow_check_paths
docker_check:
image: docker/dockerfile:1.11
commands:
- docker build --check . -f docker/Dockerfile
cargo_clippy: cargo_clippy:
image: *rust_image image: *rust_image
environment: environment:

View file

@ -1,4 +1,5 @@
# syntax=docker/dockerfile:1.10 # syntax=docker/dockerfile:1.10
#check=skip=FromPlatformFlagConstDisallowed
ARG RUST_VERSION=1.81 ARG RUST_VERSION=1.81
ARG CARGO_BUILD_FEATURES=default ARG CARGO_BUILD_FEATURES=default
ARG RUST_RELEASE_MODE=debug ARG RUST_RELEASE_MODE=debug