-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMakefile
18 lines (15 loc) · 828 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TAG := $$(git rev-parse --short HEAD)
build:
@docker build -t teslacam/dashcam-monitor:${TAG} .
@docker build -f Dockerfile.rotate -t teslacam/clean-recent-clips:${TAG} .
@docker build -f Dockerfile.rsync -t teslacam/dashcam-rsync-upload:${TAG} .
@docker build -f Dockerfile.dropbox -t teslacam/dropbox-uploader:${TAG} .
@docker tag teslacam/dashcam-monitor:${TAG} teslacam/dashcam-monitor:latest
@docker tag teslacam/clean-recent-clips:${TAG} teslacam/clean-recent-clips:latest
@docker tag teslacam/dashcam-rsync-upload:${TAG} teslacam/dashcam-rsync-upload:latest
@docker tag teslacam/dropbox-uploader:${TAG} teslacam/dropbox-uploader:latest
push:
@docker push teslacam/dashcam-monitor
@docker push teslacam/dashcam-rsync-upload
@docker push teslacam/clean-recent-clips
@docker push teslacam/dropbox-uploader