From 91997933d98ab84c27dd6fa13f24351de0b86285 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Tue, 30 Mar 2021 12:08:59 +0300 Subject: [PATCH] cleanup makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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