mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Merge pull request #6248 from dchen1107/docker
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