aboutsummaryrefslogtreecommitdiff
path: root/script/builder_image/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-08 20:06:48 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:11 +0200
commit640e3921d8a2b341ff623e3fc3665f246083bb22 (patch)
treeeae3c716fcfa79d065449b6e40e1b17a4d39f59d /script/builder_image/Makefile
parent7f1a50dbd9820fbc42b9463924bd5b022a4c6254 (diff)
downloadgarage-640e3921d8a2b341ff623e3fc3665f246083bb22.tar.gz
garage-640e3921d8a2b341ff623e3fc3665f246083bb22.zip
Use pre-prepared Docker image in CI to speed things up
Diffstat (limited to 'script/builder_image/Makefile')
-rw-r--r--script/builder_image/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/script/builder_image/Makefile b/script/builder_image/Makefile
new file mode 100644
index 00000000..00b0f6c7
--- /dev/null
+++ b/script/builder_image/Makefile
@@ -0,0 +1,8 @@
+DOCKER=lxpz/garage_builder_amd64
+
+docker:
+ docker build -t $(DOCKER):$(TAG) .
+ docker push $(DOCKER):$(TAG)
+ docker tag $(DOCKER):$(TAG) $(DOCKER):latest
+ docker push $(DOCKER):latest
+