mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 17:16:12 +00:00
Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR: https://github.com/kubernetes/kubernetes/pull/14960 to replace just `pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`. The v2 versions have been pushed under new tags, `pause:2.0` and `fluentd-elastisearch:1.12`. NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2. Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
.PHONY: build push
|
||||
|
||||
IMAGE = pause
|
||||
TAG = 0.8.0
|
||||
TAG = 2.0
|
||||
|
||||
build:
|
||||
./prepare.sh
|
||||
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
|
||||
docker build -t beta.gcr.io/google_containers/$(IMAGE):$(TAG) .
|
||||
|
||||
push: build
|
||||
gcloud docker push gcr.io/google_containers/$(IMAGE):$(TAG)
|
||||
gcloud docker --server=beta.gcr.io push beta.gcr.io/google_containers/$(IMAGE):$(TAG)
|
||||
|
||||
all: push
|
||||
|
Reference in New Issue
Block a user