mirror of https://github.com/docker/docs.git
ci: add dockerfile check
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
79ff211be8
commit
61cdf6f1cc
|
|
@ -56,6 +56,7 @@ jobs:
|
|||
- test
|
||||
- unused-media
|
||||
- test-go-redirects
|
||||
- dockerfile-lint
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# syntax=docker/dockerfile-upstream:master
|
||||
# check=skip=InvalidBaseImagePlatform
|
||||
|
||||
# ALPINE_VERSION sets the Alpine Linux version for all Alpine stages
|
||||
ARG ALPINE_VERSION=3.20
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ target "release" {
|
|||
}
|
||||
|
||||
group "validate" {
|
||||
targets = ["lint", "test", "unused-media", "test-go-redirects"]
|
||||
targets = ["lint", "test", "unused-media", "test-go-redirects", "dockerfile-lint"]
|
||||
}
|
||||
|
||||
target "test" {
|
||||
|
|
@ -59,6 +59,10 @@ target "test-go-redirects" {
|
|||
provenance = false
|
||||
}
|
||||
|
||||
target "dockerfile-lint" {
|
||||
call = "check"
|
||||
}
|
||||
|
||||
#
|
||||
# releaser targets are defined in _releaser/Dockerfile
|
||||
# and are used for AWS S3 deployment
|
||||
|
|
|
|||
Loading…
Reference in New Issue