mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 03:11:08 +00:00
Check dockerfile during CI, ignore error
This commit is contained in:
parent
a9d6d4e6e0
commit
8306ef3edb
2 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue