-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (17 loc) · 771 Bytes
/
Makefile
File metadata and controls
21 lines (17 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build:
# Python 3.8
docker build --build-arg PYTHON_VERSION=3.8 -f Dockerfile -t nullstone/django:3.8 .
docker build --build-arg PYTHON_VERSION=3.8 -f local.Dockerfile -t nullstone/django:3.8-local .
# Python 3.9
docker build --build-arg PYTHON_VERSION=3.9 -f Dockerfile -t nullstone/django:3.9 .
docker build --build-arg PYTHON_VERSION=3.9 -f local.Dockerfile -t nullstone/django:3.9-local .
tags:
docker tag nullstone/django:3.9 nullstone/django
docker tag nullstone/django:3.9-local nullstone/django:local
push:
docker push nullstone/django
docker push nullstone/django:3.9
docker push nullstone/django:3.8
docker push nullstone/django:local
docker push nullstone/django:3.9-local
docker push nullstone/django:3.8-local