mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 13:38:17 +00:00
12 lines
534 B
Makefile
12 lines
534 B
Makefile
TEST_IMAGE_NAME := runatlantis/testing-env
|
|
|
|
.DEFAULT_GOAL := help
|
|
help: ## List targets & descriptions
|
|
@cat Makefile* | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|
|
build-testing-image: ## Build and push the testing image
|
|
docker build -t $(TEST_IMAGE_NAME):$$(git rev-parse HEAD) .
|
|
docker tag $(TEST_IMAGE_NAME):$$(git rev-parse HEAD) $(TEST_IMAGE_NAME):latest
|
|
docker push $(TEST_IMAGE_NAME):$$(git rev-parse HEAD)
|
|
docker push $(TEST_IMAGE_NAME):latest
|