Fix awk param reference in BUILD_ARCH flag

This commit is contained in:
Dan Sosedoff 2022-12-06 18:02:20 -06:00
parent 829658ae4d
commit 88557bfaf5
No known key found for this signature in database
GPG Key ID: 26186197D282B164

View File

@ -1,7 +1,7 @@
PKG = github.com/sosedoff/pgweb
GIT_COMMIT ?= $(shell git rev-parse HEAD)
BUILD_TIME ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ" | tr -d '\n')
BUILD_ARCH ?= $(shell uname -s | awk '{print tolower($0)}')/$(shell uname -m)
BUILD_ARCH ?= $(shell uname -s | awk '{print tolower($$0)}')/$(shell uname -m)
GO_VERSION ?= $(shell go version | awk {'print $$3'})
DOCKER_RELEASE_TAG = "sosedoff/pgweb:$(shell git describe --abbrev=0 --tags | sed 's/v//')"