Commit fe1f9685 authored by Kevin Daudt's avatar Kevin Daudt

docker-image: add linting job for Dockerfiles

parent ddcc5d46
Pipeline #5124 passed with stage
in 35 seconds
......@@ -5,10 +5,17 @@ image: alpinelinux/docker-cli:latest
printf "$DOCKER_PASSWORD" | docker login -u $DOCKER_USER --password-stdin
stages:
- verify
- build
- upload
- manifest
lint:
stage: verify
image: hadolint/hadolint
script:
- hadolint --ignore DL3018 Dockerfile
.build:
stage: build
script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment