feat(package) Version were not correctly set
As the code moved in "internal" package, we need to set the version to the new location
This commit is contained in:
@@ -27,7 +27,6 @@ else
|
||||
$(CTN_USERMAP) \
|
||||
$(PKG_OCI_IMAGE)
|
||||
endif
|
||||
GO_BUILD=go build -ldflags="-X 'katenary/generator.Version=$(VERSION)'" -o $(OUTPUT) ./cmd/katenary
|
||||
BUILD_IMAGE=docker.io/golang:$(GOVERSION)
|
||||
|
||||
GO_OCI:=$(CTN) run --rm -it \
|
||||
@@ -45,3 +44,9 @@ packager-oci-image:
|
||||
builder-oci-image:
|
||||
@$(CTN) build -t go-builder:$(GOVERSION) ./oci/builder \
|
||||
--build-arg GOVERSION=$(GOVERSION) 1>/dev/null
|
||||
katenary-oci:
|
||||
$(CTN) build -f oci/katenary/Containerfile -t katenary:$(VERSION) \
|
||||
--build-arg GOVERSION=$(GOVERSION) \
|
||||
--build-arg VERSION=$(VERSION) \
|
||||
./
|
||||
$(CTN) tag katenary:$(VERSION) katenary:latest
|
||||
|
Reference in New Issue
Block a user