diff --git a/Makefile b/Makefile index 88f2c17..ba6e96d 100644 --- a/Makefile +++ b/Makefile @@ -3,14 +3,14 @@ MAKEFLAGS += --silent .PHONY: * REPOSITORY=fedy95/baseimage:yamllint -YAMLLINT_TAG=latest +TAG=latest build_yamllint: - docker build -t ${REPOSITORY}-${YAMLLINT_TAG} image -f image/Dockerfile + docker build -t ${REPOSITORY}-${TAG} image -f image/Dockerfile lint: build_yamllint - @docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data ${REPOSITORY}-${YAMLLINT_TAG} . + @docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data ${REPOSITORY}-${TAG} . lint_help: build_yamllint - docker run --rm -v $(pwd):/data ${REPOSITORY}-${YAMLLINT_TAG} --help + docker run --rm -v $(pwd):/data ${REPOSITORY}-${TAG} --help .DEFAULT_GOAL := build_yamllint