-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
33 lines (25 loc) · 1.16 KB
/
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
DOCKERVER :=`cat VERSION`
.DEFAULT_GOAL := docker
docker:
docker build --tag="fils/p418tangram:$(DOCKERVER)" --file=./Dockerfile .
pod-build:
podman build --tag="fils/p418tangram:$(DOCKERVER)" --file=./Dockerfile .
pod-push:
podman tag localhost/fils/p418tangram:$(DOCKERVER) docker.io/fils/p418tangram:$(DOCKERVER)
podman push docker.io/fils/p418tangram:$(DOCKERVER)
pod-gcr:
podman tag fils/p418tangram:$(DOCKERVER) gcr.io/top-operand-112611/p418tangram:$(DOCKERVER)
#podman tag fils/p418tangram:latest gcr.io/top-operand-112611/p418tangram:latest
podman push gcr.io/top-operand-112611/p418tangram:$(DOCKERVER)
#podman push gcr.io/top-operand-112611/p418tangram:latest
dockerlatest:
docker build --tag="fils/p418tangram:latest" --file=./Dockerfile .
publish: docker
docker push fils/p418tangram:$(DOCKERVER)
docker push fils/p418tangram:latest
tag:
docker tag fils/p418tangram:$(DOCKERVER) gcr.io/top-operand-112611/p418tangram:$(DOCKERVER)
docker tag fils/p418tangram:latest gcr.io/top-operand-112611/p418tangram:latest
publishgcr:
docker push gcr.io/top-operand-112611/p418tangram:$(DOCKERVER)
docker push gcr.io/top-operand-112611/p418tangram:latest