-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (31 loc) · 1.34 KB
/
Makefile
File metadata and controls
35 lines (31 loc) · 1.34 KB
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
35
IMAGE ?= filefrog/jumpbox
TAG ?= latest
latest:
docker build \
--build-arg BUILD_DATE="$(shell date -u --iso-8601)" \
--build-arg VCS_REF="$(shell git rev-parse --short HEAD)" \
--build-arg bbr_version="$(shell ./latest bbr)" \
--build-arg bosh_version="$(shell ./latest bosh)" \
--build-arg boss_version="$(shell ./latest boss)" \
--build-arg cf_version="$(shell ./latest cf)" \
--build-arg credhub_version="$(shell ./latest credhub)" \
--build-arg fly_version="$(shell ./latest fly)" \
--build-arg genesis_version="$(shell ./latest genesis)" \
--build-arg gotcha_version="$(shell ./latest gotcha)" \
--build-arg jq_version="$(shell ./latest jq)" \
--build-arg kubectl_version="$(shell ./latest kubectl)" \
--build-arg osb_version="$(shell ./latest osb)" \
--build-arg s3_version="$(shell ./latest s3)" \
--build-arg safe_version="$(shell ./latest safe)" \
--build-arg shield_version="$(shell ./latest shield)" \
--build-arg spruce_version="$(shell ./latest spruce)" \
--build-arg terraform_version="$(shell ./latest terraform)" \
--build-arg vault_version="$(shell ./latest vault)" \
. -t $(IMAGE):$(TAG)
push:
docker push $(IMAGE):$(TAG)
ci: latest
docker push $(IMAGE):$(TAG)
docker build . -f Dockerfile.jhunt -t $(IMAGE):jhunt
docker push $(IMAGE):jhunt
.PHONY: latest push latest-jhunt push-jhunt