Skip to content

Instantly share code, notes, and snippets.

@iamvips
iamvips / .gitlab-ci.yml
Last active March 22, 2020 11:21 — forked from anka/.gitlab-ci.yml
GitLab CI configuration to lint and build Docker images and push them to AWS ECR
stages:
- Lint images
- Build and publish images
## Load a node.js image, install dockerlint and lint all Dockerfiles
linting:
stage: Lint images
image: node:4-alpine
script:
- npm install -g dockerlint && npm cache clean