Skip to content
Permalink
Browse files

travis: push docker images

With the newly introduced base image, it looks like we can't use the
docker hub builder anymore. Push the finished images from travis-ci.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  • Loading branch information
jluebbe committed Nov 28, 2019
1 parent 9653ef9 commit 7c6b97bb577a65e04e55ea16be27208ea73ba5c0
Showing with 12 additions and 1 deletion.
  1. +12 −1 .travis.yml
@@ -34,7 +34,18 @@ matrix:
- stage: docker
services:
- docker
script: ./docker/build.sh
script:
- ./docker/build.sh
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$DOCKER_USERNAME" != "" ] && [ "$DOCKER_TOKEN" != "" ]; then
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin;
docker images;
docker tag labgrid-client labgrid/client;
docker tag labgrid-exporter labgrid/exporter;
docker tag labgrid-coordinator labgrid/coordinator;
docker push labgrid/client;
docker push labgrid/exporter;
docker push labgrid/coordinator;
fi
- stage: optional
python: "nightly"
allow_failures:

0 comments on commit 7c6b97b

Please sign in to comment.
You can’t perform that action at this time.