File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 4242endif
4343
4444.PHONY : build/web
45- build/web : PIPECD_VERSION ?= $(shell git describe --tags --always --dirty --abbrev=7 --match 'v[0-9]* .* ')
45+ build/web : BUILD_VERSION ?= $(shell git describe --tags --always --dirty --abbrev=7 --match 'v[0-9]* .* ')
4646build/web :
47- PIPECD_VERSION =$(PIPECD_VERSION ) yarn --cwd web build
47+ BUILD_VERSION =$(BUILD_VERSION ) yarn --cwd web build
4848
4949.PHONY : build/chart
5050build/chart : VERSION ?= $(shell git describe --tags --always --dirty --abbrev=7 --match 'v[0-9]* .* ')
@@ -156,10 +156,9 @@ run/pipecd: BUILD_DATE ?= $(shell date -u '+%Y%m%d-%H%M%S')
156156run/pipecd : BUILD_LDFLAGS_PREFIX := -X github.com/pipe-cd/pipecd/pkg/version
157157run/pipecd : BUILD_OPTS ?= -ldflags "$(BUILD_LDFLAGS_PREFIX ) .version=$(BUILD_VERSION ) $(BUILD_LDFLAGS_PREFIX ) .gitCommit=$(BUILD_COMMIT ) $(BUILD_LDFLAGS_PREFIX ) .buildDate=$(BUILD_DATE ) -w"
158158run/pipecd : CONTROL_PLANE_VALUES ?= ./quickstart/control-plane-values.yaml
159- run/pipecd : PIPECD_VERSION ?= $(shell git describe --tags --always --dirty --abbrev=7 --match 'v[0-9]* .* ')
160159run/pipecd :
161160 @echo " Building docker image and pushing it to local registry..."
162- docker build -f cmd/pipecd/Dockerfile -t localhost:5001/pipecd:$(BUILD_VERSION ) --build-arg BUILD_VERSION=$(PIPECD_VERSION ) .
161+ docker build -f cmd/pipecd/Dockerfile -t localhost:5001/pipecd:$(BUILD_VERSION ) --build-arg BUILD_VERSION=$(BUILD_VERSION ) .
163162 docker push localhost:5001/pipecd:$(BUILD_VERSION )
164163
165164 @echo "Installing Control Plane in kind..."
You can’t perform that action at this time.
0 commit comments