forked from MinimalCompact/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
push
executable file
·25 lines (19 loc) · 1.07 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
#!/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 ghcr.io/minimalcompact/thumbor:latest-simd-sse4
docker push ghcr.io/minimalcompact/thumbor:$THUMBOR_VERSION-simd-sse4
echo "--> pushing minimalcompact/thumbor:simdavx2"
docker push ghcr.io/minimalcompact/thumbor:latest-simd-avx2
docker push ghcr.io/minimalcompact/thumbor:$THUMBOR_VERSION-simd-avx2
echo "--> pushing minimalcompact/thumbor-nginx-proxy-cache"
docker push ghcr.io/minimalcompact/thumbor-nginx-proxy-cache:latest
docker push ghcr.io/minimalcompact/thumbor-nginx-proxy-cache:$THUMBOR_VERSION
echo "--> pushing minimalcompact/remotecv"
docker push ghcr.io/minimalcompact/remotecv:latest
docker push ghcr.io/minimalcompact/remotecv:$THUMBOR_VERSION
echo "--> pushing minimalcompact/thumbor"
docker push ghcr.io/minimalcompact/thumbor:latest
docker push ghcr.io/minimalcompact/thumbor:$THUMBOR_VERSION