chore: generate tag before building docker image

This commit is contained in:
wpetit 2024-03-21 09:20:58 +01:00
parent 040a9d0e46
commit 888ff2ec47
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ build:
CGO_ENABLED=0 go build -v -o bin/fake-smtp ./cmd/fake-smtp
docker-image:
git tag -a $(MKT_PROJECT_VERSION) -m "v$(MKT_PROJECT_VERSION)" || exit 0
docker build \
--build-arg HTTP_PROXY=$(HTTP_PROXY) \
--build-arg HTTPS_PROXY=$(HTTPS_PROXY) \