forked from MinimalCompact/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
push
executable file
·29 lines (22 loc) · 1.17 KB
/
push
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# introspecting version by running the built image
THUMBOR_VERSION=`docker run --rm minimalcompact/thumbor bash -c "pip freeze |grep ^thumbor== | cut -d= -f 3"`
echo "THUMBOR VERSION: $THUMBOR_VERSION"
echo "--> pushing minimalcompact/thumbor:simdsse4"
docker push minimalcompact/thumbor:latest-simd-sse4
docker push minimalcompact/thumbor:$THUMBOR_VERSION-simd-sse4
echo "--> pushing minimalcompact/thumbor:simdavx2"
docker push minimalcompact/thumbor:latest-simd-avx2
docker push minimalcompact/thumbor:$THUMBOR_VERSION-simd-avx2
echo "--> pushing minimalcompact/thumbor-nginx-proxy (DEPRECATED)"
docker push minimalcompact/thumbor-nginx-proxy:latest
docker push minimalcompact/thumbor-nginx-proxy:$THUMBOR_VERSION
echo "--> pushing minimalcompact/thumbor-nginx-proxy-cache"
docker push minimalcompact/thumbor-nginx-proxy-cache:latest
docker push minimalcompact/thumbor-nginx-proxy-cache:$THUMBOR_VERSION
echo "--> pushing minimalcompact/remotecv"
docker push minimalcompact/remotecv:latest
docker push minimalcompact/remotecv:$THUMBOR_VERSION
echo "--> pushing minimalcompact/thumbor"
docker push minimalcompact/thumbor:latest
docker push minimalcompact/thumbor:$THUMBOR_VERSION