Lint dockerfiles and add CI pipeline for linting #67

Merged
mwalbeck merged 9 commits from linting into master 2021-02-03 14:52:14 +00:00
2 changed files with 14 additions and 10 deletions
Showing only changes of commit b6669565d7 - Show all commits

View file

@ -1,4 +1,5 @@
--- ---
###############################################################################
kind: pipeline kind: pipeline
type: docker type: docker
name: lint name: lint
@ -12,11 +13,8 @@ steps:
- hadolint 1.7/Dockerfile - hadolint 1.7/Dockerfile
- hadolint 1.7/Dockerfile.prod - hadolint 1.7/Dockerfile.prod
trigger:
event:
- pull_request
--- ---
###############################################################################
kind: pipeline kind: pipeline
type: docker type: docker
name: test_1.6 name: test_1.6
@ -37,10 +35,20 @@ steps:
dry_run: true dry_run: true
--- ---
###############################################################################
kind: pipeline kind: pipeline
type: docker type: docker
name: build_and_release_1.6 name: build_and_release_1.6
depends_on:
- lint
trigger:
branch:
- master
event:
- push
steps: steps:
- name: determine tags - name: determine tags
image: mwalbeck/determine-docker-tags image: mwalbeck/determine-docker-tags
@ -77,12 +85,6 @@ steps:
- success - success
- failure - failure
trigger:
branch:
- master
event:
- push
--- ---
kind: pipeline kind: pipeline
type: docker type: docker

View file

@ -2,3 +2,5 @@
ignored: ignored:
- DL3008 - DL3008
- DL3003 - DL3003
- SC2164
- SC2086