You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

22 lines
440 B

MAKEFLAGS += --silent
.PHONY: *
LOCAL_REPOSITORY=fedy95/infra:openssh-server
PLANTUML_TAG=latest
build:
docker build -t ${LOCAL_REPOSITORY}-${PLANTUML_TAG} .
REGISTRY=registry.fedy95.com
YAMLLINT_TAG=baseimage-yamllint:latest
lint: lint-yaml
LINT-YAML-CMD=docker run --rm -it -v $(PWD):/data ${REGISTRY}/${YAMLLINT_TAG}
lint-yaml:
docker pull ${REGISTRY}/${YAMLLINT_TAG}
$(LINT-YAML-CMD) docker-compose.yml
.DEFAULT_GOAL := lint