From 0078fe726eced6501b533752162c838f607e4f95 Mon Sep 17 00:00:00 2001 From: Stephane Bonnet <stephane.bonnet@hds.utc.fr> Date: Sun, 2 Jun 2019 17:05:48 +0200 Subject: [PATCH] =?UTF-8?q?Ajouter=20automatiquement=20le=20tag=20latest?= =?UTF-8?q?=20=C3=A0=20la=20construction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pica-openldap/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pica-openldap/Makefile b/pica-openldap/Makefile index a810b8f8..a93ee626 100644 --- a/pica-openldap/Makefile +++ b/pica-openldap/Makefile @@ -3,10 +3,13 @@ VERSION = 0.0.1 .PHONY: all build build-nocache -all: build +all: build tag-latest build: docker build -t $(NAME):$(VERSION) --rm . build-nocache: docker build -t $(NAME):$(VERSION) --no-cache --rm . + +tag-latest: + docker tag $(NAME):$(VERSION) $(NAME):latest -- GitLab