diff --git a/build/debian-base/Makefile b/build/debian-base/Makefile index c67f20db243..ae9a8ec9092 100755 --- a/build/debian-base/Makefile +++ b/build/debian-base/Makefile @@ -18,7 +18,7 @@ REGISTRY ?= gcr.io/google-containers IMAGE ?= debian-base BUILD_IMAGE ?= debian-build -TAG ?= 0.1.0 +TAG ?= 0.1 TAR_FILE ?= rootfs.tar ARCH?=amd64 @@ -70,6 +70,9 @@ endif docker build -t $(REGISTRY)/$(IMAGE)-$(ARCH):$(TAG) $(TEMP_DIR) rm -rf $(TEMP_DIR) +push: build + gcloud docker -- push $(REGISTRY)/$(IMAGE)-$(ARCH):$(TAG) + clean: docker rmi -f $(REGISTRY)/$(IMAGE)-$(ARCH):$(TAG) || true docker rmi -f $(BUILD_IMAGE) || true diff --git a/build/root/WORKSPACE b/build/root/WORKSPACE index b82d9ef9a55..9e0ff0ba00e 100644 --- a/build/root/WORKSPACE +++ b/build/root/WORKSPACE @@ -62,7 +62,7 @@ http_file( docker_pull( name = "debian-iptables-amd64", - digest = "sha256:adde513f7b3561042cd2d2af4d2d355189bbb2f579584b5766e7d07be4f7e71e", # v7 + digest = "sha256:bfc7cc030258f53495b5dacf1e1d750db9b8687577a8648a3c8e245f8d7d2c52", # v7 registry = "gcr.io", repository = "google-containers/debian-iptables-amd64", )