Skip to content

Commit

Permalink
Update docker build.
Browse files Browse the repository at this point in the history
  • Loading branch information
childsb committed Dec 1, 2017
1 parent 542525a commit b39f4af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

IMAGE = k8scsi/csi-provision

VERSION :=
TAG := $(shell git describe --abbrev=0 --tags HEAD 2>/dev/null)
COMMIT := $(shell git rev-parse HEAD)
Expand Down Expand Up @@ -42,9 +44,13 @@ deps:
.PHONY: deps

quick-container:
docker build -t kube-csi-provision:latest .
docker build -t $(IMAGE):$(VERSION) .
.PHONY: quick-container

push-container:
docker push $(IMAGE):$(VERSION)
.PHONY: push-container

provisioner:
mkdir -p _output
go build -i -o _output/csi-provisioner ./cmd/csi-provisioner/
Expand Down

0 comments on commit b39f4af

Please sign in to comment.