Docker: fixed git references.
This commit is contained in:
@@ -95,7 +95,7 @@ build-%: Dockerfile.%
|
|||||||
docker build --no-cache -t unit:$(VERSION)-$* -f Dockerfile.$* .
|
docker build --no-cache -t unit:$(VERSION)-$* -f Dockerfile.$* .
|
||||||
|
|
||||||
library:
|
library:
|
||||||
@echo "# this file is generated via https://github.com/nginx/unit/$(shell git describe --always --abbrev=0 HEAD)/pkg/docker/Makefile"
|
@echo "# this file is generated via https://github.com/nginx/unit/blob/$(shell git describe --always --abbrev=0 HEAD)/pkg/docker/Makefile"
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "Maintainers: Unit Docker Maintainers <docker-maint@nginx.com> (@nginx)"
|
@echo "Maintainers: Unit Docker Maintainers <docker-maint@nginx.com> (@nginx)"
|
||||||
@echo "GitRepo: https://github.com/nginx/unit.git"
|
@echo "GitRepo: https://github.com/nginx/unit.git"
|
||||||
@@ -105,7 +105,7 @@ library:
|
|||||||
TAGS="$$(echo $$TAGS | tr " " "\n" | sort -u -r | tr "\n" "," | sed "s/,/, /g")"; \
|
TAGS="$$(echo $$TAGS | tr " " "\n" | sort -u -r | tr "\n" "," | sed "s/,/, /g")"; \
|
||||||
echo "Tags: $(VERSION)-$$mod, $${TAGS%, }"; \
|
echo "Tags: $(VERSION)-$$mod, $${TAGS%, }"; \
|
||||||
echo "Architectures: amd64, arm64v8"; \
|
echo "Architectures: amd64, arm64v8"; \
|
||||||
echo "GitFetch: refs/heads/packaging"; \
|
echo "GitFetch: refs/heads/branches/packaging"; \
|
||||||
echo "GitCommit: $(shell git describe --always --abbrev=0 HEAD)"; \
|
echo "GitCommit: $(shell git describe --always --abbrev=0 HEAD)"; \
|
||||||
echo "Directory: pkg/docker"; \
|
echo "Directory: pkg/docker"; \
|
||||||
echo "File: Dockerfile.$$mod"; \
|
echo "File: Dockerfile.$$mod"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user