mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #6248 from dchen1107/docker
Makefile for build pause image and push to gcr.io
This commit is contained in:
commit
f4a71cccd2
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
|
Loading…
Reference in New Issue
Block a user