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-08 20:06:48 +0200
commit6e28ea6bdc00b313b62198be4417a9ff56cb1189 (patch)
treeaddceceab4fca556c38afa36dfb54e5f46bdfdb5 /script/builder_image/Makefile
parent7ba80b610815fed863de312f70038291dc8a4585 (diff)
downloadgarage-6e28ea6bdc00b313b62198be4417a9ff56cb1189.tar.gz
garage-6e28ea6bdc00b313b62198be4417a9ff56cb1189.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
+