1
0
mirror of https://github.com/dcarrillo/docker-nginx.git synced 2025-11-20 02:12:35 +00:00

Bump nginx to 1.29.3 and refactor the building/testing

This commit is contained in:
2025-11-05 17:29:37 +01:00
parent 0e36c5ba23
commit 2926640687
9 changed files with 65 additions and 112 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
include conf.env
build:
docker build --build-arg=ARG_NGINX_VERSION="$(NGINX_VERSION)" \
-t "$(DOCKER_IMAGE):$(NGINX_VERSION)" .
build-latest: build
docker tag "$(DOCKER_IMAGE):$(NGINX_VERSION)" "$(DOCKER_IMAGE):latest"
push-latest: build-latest
docker push "$(DOCKER_IMAGE):$(NGINX_VERSION)"
docker push "$(DOCKER_IMAGE):latest"
.PHONY: tests
tests:
./tests/test.sh