mirror of
https://github.com/pypa/pipenv.git
synced 2026-05-06 08:26:42 -04:00
Witchcraft and sourcery (#5774)
Makefile step to build and push all images
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
ALL_PYVERSIONS = 3.11-alpine 3.10-alpine 3.9-alpine 3.8-alpine 3.11 3.10 3.9 3.8
|
||||
|
||||
|
||||
ifneq (,$(wildcard ./.env))
|
||||
include .env
|
||||
export
|
||||
@@ -11,3 +14,7 @@ docker-build:
|
||||
|
||||
docker-push:
|
||||
docker push $(REGISTRY)/$(ORG)/$(IMG):$(TAG)
|
||||
|
||||
|
||||
build-all:
|
||||
$(foreach var,$(ALL_PYVERSIONS), make docker-build docker-push TAG=$(var)-$(PIPENV) PYVERSION=$(var) PIPENV=$(PIPENV);)
|
||||
|
||||
+5
-1
@@ -1,6 +1,10 @@
|
||||
# Public docker images
|
||||
|
||||
Build with:
|
||||
Build all images with:
|
||||
```
|
||||
$ make build-all PIPENV=2023.07.3
|
||||
```
|
||||
Build a single image with with:
|
||||
|
||||
```
|
||||
$ make docker-build docker-push TAG=3.11-alpine-v2023-6-26 PYVERSION=3.11-alpine PIPENV=2023.6.26
|
||||
|
||||
Reference in New Issue
Block a user