forked from viveksyngh/faas-idler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (26 loc) · 798 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
TAG?=latest-dev
NAMESPACE?=openfaas
.PHONY: build
build:
docker build -t ${NAMESPACE}/faas-idler:${TAG} .
.PHONY: push
push:
docker push ${NAMESPACE}/faas-idler:${TAG}
.PHONY: ci-armhf-build
ci-armhf-build:
docker build -t ${NAMESPACE}/faas-idler:${TAG}-armhf . -f Dockerfile.armhf
.PHONY: ci-armhf-push
ci-armhf-push:
docker push ${NAMESPACE}/faas-idler:${TAG}-armhf
.PHONY: ci-arm64-build
ci-arm64-build:
docker build -t ${NAMESPACE}/faas-idler:${TAG}-arm64 . -f Dockerfile.arm64
.PHONY: ci-arm64-push
ci-arm64-push:
docker push ${NAMESPACE}/faas-idler:${TAG}-arm64
.PHONY: ci-ppc64le-build
ci-ppc64le-build:
docker build -t ${NAMESPACE}/faas-idler:${TAG}-ppc64le . -f Dockerfile.ppc64le
.PHONY: ci-ppc64le-push
ci-ppc64le-push:
docker push ${NAMESPACE}/faas-idler:${TAG}-ppc64le