init commit
continuous-integration/drone Build encountered an error

This commit is contained in:
2022-05-11 18:45:30 -04:00
parent 0b02650eeb
commit 661ff79446
3 changed files with 51 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
default: build
DATE = $(shell date +%F)
SHORT_COMMIT_HASH = $(shell git log -1 --format=%h)
build:
docker build . -t shnee/dind:latest
tag:
docker tag shnee/dind:latest shnee/dind:$(DATE)-$(SHORT_COMMIT_HASH)
clean: rm-unique
-docker rmi shnee/dind:latest
rm-unique:
-docker rmi shnee/dind:$(DATE)-$(SHORT_COMMIT_HASH)
help:
@echo TODO REM do me.
.PHONY: default build tag clean rm-unique help