summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-04-01 06:52:03 +0000
committerGitHub <noreply@github.com>2020-04-01 06:52:03 +0000
commit8189e18d91e55388cec48d73a9d7648b1c148d0b (patch)
tree3005d91715fadcc8b72e4f77c14535407e8a2fd5
parentc97c4947d5bb43ea09056b196885b53ab19e455e (diff)
parent2a1db2ac4a3313a96c283c39c2b0a21ba6c4e8d7 (diff)
downloadsearxng-8189e18d91e55388cec48d73a9d7648b1c148d0b.tar.gz
searxng-8189e18d91e55388cec48d73a9d7648b1c148d0b.zip
Merge pull request #1905 from dalf/docker-build-fix
[fix] travis: fix docker build.
-rw-r--r--.travis.yml2
-rw-r--r--Makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1667cd37c..8c3f7285c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,7 +40,7 @@ jobs:
install: true
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- - local/py3/bin/activate; ./manage.sh docker_build push
+ - make -e GIT_URL=$(git remote get-url origin) docker.push
after_success: true
notifications:
diff --git a/Makefile b/Makefile
index a093d8b18..65f79ba2c 100644
--- a/Makefile
+++ b/Makefile
@@ -169,6 +169,9 @@ PHONY += docker
docker: buildenv
$(Q)./manage.sh docker_build
+docker.push: buildenv
+ $(Q)./manage.sh docker_build push
+
# gecko
# -----