Explicity named builded image as from docker.io
This commit is contained in:
parent
8493b606ab
commit
b7f46c38ac
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -10,7 +10,7 @@ Image with common dependencies to build Debian package of Python apps/libraries
|
|||
To use it:
|
||||
|
||||
```bash
|
||||
docker run -it -v "$(pwd)":/src -w /src brenard/debian-python-deb
|
||||
docker run -it -v "$(pwd)":/src -w /src docker.io/brenard/debian-python-deb
|
||||
```
|
||||
|
||||
## Build
|
||||
|
@ -22,9 +22,9 @@ export COMPOSE_DOCKER_CLI_BUILD=1
|
|||
|
||||
for deb_version in 10 11 12
|
||||
do
|
||||
docker build -t brenard/debian-python-deb:debian${deb_version} -f Dockerfile.debian${deb_version} .
|
||||
docker build -t docker.io/brenard/debian-python-deb:debian${deb_version} -f Dockerfile.debian${deb_version} .
|
||||
done
|
||||
docker build -t brenard/debian-python-deb:latest -f Dockerfile.debian${deb_version} .
|
||||
docker build -t docker.io/brenard/debian-python-deb:latest -f Dockerfile.debian${deb_version} .
|
||||
```
|
||||
|
||||
## Publish
|
||||
|
@ -32,7 +32,7 @@ docker build -t brenard/debian-python-deb:latest -f Dockerfile.debian${deb_versi
|
|||
```bash
|
||||
for deb_version in 10 11 12
|
||||
do
|
||||
docker push brenard/debian-python-deb:debian${deb_version}
|
||||
docker push docker.io/brenard/debian-python-deb:debian${deb_version}
|
||||
done
|
||||
docker push brenard/debian-python-deb:latest
|
||||
docker push docker.io/brenard/debian-python-deb:latest
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue