From a9b50ba15d6f07c87b4f02029dacb96873627644 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Tue, 30 Mar 2021 18:01:04 +0300 Subject: [PATCH] cleanup --- .drone.yml | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 057f4a6..4baa094 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ volumes: path: /var/run/docker.sock steps: - - name: validate yaml + - name: lint yaml image: registry.fedy95.com/baseimage-yamllint:latest commands: - yamllint -c /yamllint/relaxed.yaml . diff --git a/Makefile b/Makefile index 8e49b94..f045bdf 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,12 @@ MAKEFLAGS += --silent REPOSITORY=fedy95/baseimage:yamllint TAG=latest -build_yamllint: +build-yamllint: docker build -t ${REPOSITORY}-${TAG} image -f image/Dockerfile -lint: build_yamllint +lint: build-yamllint @docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data ${REPOSITORY}-${TAG} . -lint_help: build_yamllint +lint_help: build-yamllint docker run --rm -v $(pwd):/data ${REPOSITORY}-${TAG} --help .DEFAULT_GOAL := lint -- 2.30.2