Skip to content
Snippets Groups Projects
Commit 5e8f8297 authored by Rohith's avatar Rohith
Browse files

- fixing the version variable in the makefile

parent 894c6e34
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
NAME=keycloak-proxy NAME=keycloak-proxy
AUTHOR=gambol99 AUTHOR=gambol99
HARDWARE=$(shell uname -m) HARDWARE=$(shell uname -m)
VERSION=$(shell awk '/Version =/ { print $$3 }' doc.go | sed 's/"//g') VERSION=$(shell awk '/version =/ { print $$3 }' doc.go | sed 's/"//g')
DEPS=$(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) DEPS=$(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
PACKAGES=$(shell go list ./...) PACKAGES=$(shell go list ./...)
VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods -nilfunc -printf -rangeloops -shift -structtags -unsafeptr VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods -nilfunc -printf -rangeloops -shift -structtags -unsafeptr
...@@ -23,7 +23,7 @@ static: ...@@ -23,7 +23,7 @@ static:
docker: static docker: static
@echo "--> Building the docker image" @echo "--> Building the docker image"
sudo docker build -t docker.io/${AUTHOR}/${NAME}:latest . sudo docker build -t docker.io/${AUTHOR}/${NAME}:${VERSION} .
release: static release: static
mkdir -p release mkdir -p release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment