Makefile for build pause image and push to gcr.io
This commit is contained in:
13
build/pause/Makefile
Normal file
13
build/pause/Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
.PHONY: build push
|
||||||
|
|
||||||
|
IMAGE = pause
|
||||||
|
TAG = 0.8.0
|
||||||
|
|
||||||
|
build:
|
||||||
|
./prepare.sh
|
||||||
|
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
|
||||||
|
|
||||||
|
push: build
|
||||||
|
gcloud preview docker push gcr.io/google_containers/$(IMAGE):$(TAG)
|
||||||
|
|
||||||
|
all: push
|
Reference in New Issue
Block a user