File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : shell
2
2
sudo : required
3
- dist : trusty
3
+ dist : xenial
4
4
services :
5
5
- docker
6
6
addons :
Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ travis_time_start
19
19
20
20
if [ -f " $docker_dir /$image /Dockerfile" ]; then
21
21
if [ " $CI " != " " ]; then
22
- cksum=$( find $docker_dir /$image $docker_dir /scripts -type f | \
22
+ hash_key=/tmp/.docker-hash-key.txt
23
+ find $docker_dir /$image $docker_dir /scripts -type f | \
23
24
sort | \
24
- xargs cat | \
25
- sha512sum | \
25
+ xargs cat >> $hash_key
26
+ docker --version >> $hash_key
27
+ cksum=$( sha512sum $hash_key | \
26
28
awk ' {print $1}' )
27
29
s3url=" s3://$SCCACHE_BUCKET /docker/$cksum "
28
30
url=" https://s3-us-west-1.amazonaws.com/$SCCACHE_BUCKET /docker/$cksum "
You can’t perform that action at this time.
0 commit comments