Skip to content

Commit

Permalink
Pushes go to staging-k8s.gcr.io (kubernetes#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin authored and ahmetb committed Jan 19, 2018
1 parent f2cf69e commit 5530ef9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions guestbook-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# Build the guestbook-go example

# Usage:
# [VERSION=v3] [REGISTRY="k8s.gcr.io"] make build
# [VERSION=v3] [REGISTRY="staging-k8s.gcr.io"] make build
VERSION?=v3
REGISTRY?=k8s.gcr.io
REGISTRY?=staging-k8s.gcr.io

release: clean build push clean

Expand Down
2 changes: 1 addition & 1 deletion staging/cluster-dns/images/backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

TAG = v1
PREFIX = k8s.gcr.io
PREFIX = staging-k8s.gcr.io
IMAGE = example-dns-backend

all: push
Expand Down
2 changes: 1 addition & 1 deletion staging/cluster-dns/images/frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

TAG = v1
PREFIX = k8s.gcr.io
PREFIX = staging-k8s.gcr.io
IMAGE = example-dns-frontend

all: push
Expand Down
4 changes: 2 additions & 2 deletions staging/explorer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ explorer: explorer.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./explorer.go

container: explorer
docker build --pull -t k8s.gcr.io/explorer:$(TAG) .
docker build --pull -t staging-k8s.gcr.io/explorer:$(TAG) .

push: container
gcloud docker -- push k8s.gcr.io/explorer:$(TAG)
gcloud docker -- push staging-k8s.gcr.io/explorer:$(TAG)

clean:
rm -f explorer

0 comments on commit 5530ef9

Please sign in to comment.