git.99rst.org
/
roundcube-roundcubemail-docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
26d1b0d
)
Add docker login for Travis CI
author
Thomas Bruederli
<redacted>
Mon, 4 Jan 2021 19:40:28 +0000
(20:40 +0100)
committer
Thomas Bruederli
<redacted>
Mon, 4 Jan 2021 19:40:28 +0000
(20:40 +0100)
This is to avoid build fails due docker hub pull rate limits
.travis.yml
patch
|
blob
|
history
templates/travis.yml
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index db85d6b4f99d27f0431f8e427f02b78239f5ddf0..00847f167fc775a5a9be8edfed6010a23482bf55 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-12,6
+12,7
@@
branches:
before_script:
- env | sort
- dir="${VARIANT}"
+ - echo "$DOCKER_PULL_PASSWORD" | docker login -u "$DOCKER_PULL_USERNAME" --password-stdin
script:
- cd "$dir"
diff --git
a/templates/travis.yml
b/templates/travis.yml
index 6eef969fe178f6cbbc574f9c932a5440f7c8738e..e8eb9c99a287134dcaf63ad0d55e253dd35e7035 100644
(file)
--- a/
templates/travis.yml
+++ b/
templates/travis.yml
@@
-12,6
+12,7
@@
branches:
before_script:
- env | sort
- dir="${VARIANT}"
+ - echo "$DOCKER_PULL_PASSWORD" | docker login -u "$DOCKER_PULL_USERNAME" --password-stdin
script:
- cd "$dir"
git clone https://git.99rst.org/PROJECT