chore: generate tag before building docker image
This commit is contained in:
parent
040a9d0e46
commit
888ff2ec47
1
Makefile
1
Makefile
|
@ -14,6 +14,7 @@ build:
|
||||||
CGO_ENABLED=0 go build -v -o bin/fake-smtp ./cmd/fake-smtp
|
CGO_ENABLED=0 go build -v -o bin/fake-smtp ./cmd/fake-smtp
|
||||||
|
|
||||||
docker-image:
|
docker-image:
|
||||||
|
git tag -a $(MKT_PROJECT_VERSION) -m "v$(MKT_PROJECT_VERSION)" || exit 0
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg HTTP_PROXY=$(HTTP_PROXY) \
|
--build-arg HTTP_PROXY=$(HTTP_PROXY) \
|
||||||
--build-arg HTTPS_PROXY=$(HTTPS_PROXY) \
|
--build-arg HTTPS_PROXY=$(HTTPS_PROXY) \
|
||||||
|
|
Loading…
Reference in New Issue