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.
25 lines
610 B
25 lines
610 B
MAKEFLAGS += --silent
|
|
|
|
ENV_FILE=.env
|
|
ifneq ("$(wildcard .env)","")
|
|
include $(ENV_FILE)
|
|
export $(ENV_FILE)
|
|
endif
|
|
|
|
REGISTRY=registry.fedy95.com
|
|
YAMLLINT_TAG=baseimage-yamllint:latest
|
|
|
|
.PHONY: *
|
|
|
|
validate:
|
|
echo "${REGISTRY}"
|
|
docker login "${REGISTRY}" -u"${REGISTRY_LOGIN}" -p"${REGISTRY_PASSWORD}"
|
|
docker pull "${REGISTRY}"/"${YAMLLINT_TAG}"
|
|
@docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data "${REGISTRY}"/"${YAMLLINT_TAG}" .
|
|
docker logout registry.fedy95.com
|
|
|
|
restart:
|
|
docker-compose -f docker-compose.yml down
|
|
docker-compose -f docker-compose.yml up -d
|
|
|
|
.DEFAULT_GOAL := restart
|