Add makefile
This commit is contained in:
parent
999396e2f0
commit
af15d220b3
1 changed files with 13 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.PHONY: pull image push
|
||||||
|
|
||||||
|
REPO=docker.io
|
||||||
|
IMAGE=functionalhacker/gitea-asciidoc
|
||||||
|
|
||||||
|
pull:
|
||||||
|
@docker pull gitea/gitea:1
|
||||||
|
|
||||||
|
image: pull
|
||||||
|
@docker build . -t ${REPO}/${IMAGE}
|
||||||
|
|
||||||
|
push: image
|
||||||
|
@docker push ${REPO}/${IMAGE}
|
Loading…
Reference in a new issue