dockerbuildpush.sh 1.32 KB
Newer Older
Timo Koch's avatar
Timo Koch committed
1
2
3
# only for me locally to build new images
# when uploading new images also pull them on the build worker
docker build -t timokoch/bb-dumux-master-pdelab:latest -f bb-dumux-master-pdelab/Dockerfile .
Timo Koch's avatar
Timo Koch committed
4
docker build -t timokoch/bb-dumux-release-pdelab:latest -f bb-dumux-release-pdelab/Dockerfile .
Timo Koch's avatar
Timo Koch committed
5
6
docker build -t timokoch/bb-dumux-master:latest -f bb-dumux-master/Dockerfile .
docker build -t timokoch/bb-dumux-release:latest -f bb-dumux-release/Dockerfile .
Timo Koch's avatar
Timo Koch committed
7
docker build -t timokoch/bb-dumux-next:latest -f bb-dumux-next/Dockerfile .
Timo Koch's avatar
Timo Koch committed
8
9
10
11
docker build -t timokoch/bb-lecture-master:latest -f bb-lecture-master/Dockerfile .
docker build -t timokoch/bb-lecture-release:latest -f bb-lecture-release/Dockerfile .

docker push timokoch/bb-dumux-master-pdelab:latest
Timo Koch's avatar
Timo Koch committed
12
docker push timokoch/bb-dumux-release-pdelab:latest
Timo Koch's avatar
Timo Koch committed
13
14
docker push timokoch/bb-dumux-master:latest
docker push timokoch/bb-dumux-release:latest
Timo Koch's avatar
Timo Koch committed
15
docker push timokoch/bb-dumux-next:latest
Timo Koch's avatar
Timo Koch committed
16
17
18
19
docker push timokoch/bb-lecture-master:latest
docker push timokoch/bb-lecture-release:latest

docker rmi timokoch/bb-dumux-master-pdelab:latest
Timo Koch's avatar
Timo Koch committed
20
docker rmi timokoch/bb-dumux-release-pdelab:latest
Timo Koch's avatar
Timo Koch committed
21
22
docker rmi timokoch/bb-dumux-master:latest
docker rmi timokoch/bb-dumux-release:latest
Timo Koch's avatar
Timo Koch committed
23
docker rmi timokoch/bb-dumux-next:latest
Timo Koch's avatar
Timo Koch committed
24
25
docker rmi timokoch/bb-lecture-master:latest
docker rmi timokoch/bb-lecture-release:latest