[WIP] More work implementing create/delete volume and publish/unpublish volume
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,5 +1,5 @@
|
||||
# Image URL to use all building/pushing image targets
|
||||
IMG ?= csi:latest
|
||||
IMG ?= registry.millslan.net/p5x-csi:latest
|
||||
|
||||
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
|
||||
ifeq (,$(shell go env GOBIN))
|
||||
@@ -40,10 +40,10 @@ build: fmt vet ## Build manager binary.
|
||||
run: fmt vet ## Run a csi driver from your host.
|
||||
go run ./main.go
|
||||
|
||||
.PHONY: docker-build
|
||||
docker-build: test ## Build docker image with the manager.
|
||||
.PHONY: image
|
||||
image: Dockerfile build ## Build docker image with the manager.
|
||||
docker build -t ${IMG} .
|
||||
|
||||
.PHONY: docker-push
|
||||
docker-push: ## Push docker image with the manager.
|
||||
.PHONY: push
|
||||
push: ## Push docker image with the manager.
|
||||
docker push ${IMG}
|
||||
|
||||
Reference in New Issue
Block a user