From b990cee933ff80a506836857e01af68d5e9cf3f0 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Wed, 5 Sep 2018 19:24:50 +0200 Subject: Push to Docker Hub. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d645eac1..70c53f34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -104,12 +104,12 @@ pages: - public expire_in: 30 days -push-image: +push-django-image: image: docker:stable-git stage: deploy script: - - docker build -t registry.gitlab.com/python-discord/projects/site/django:latest . - - echo "$GITLAB_DOCKER_PASSWORD" | docker login --username "$GITLAB_DOCKER_USERNAME" --password-stdin registry.gitlab.com + - docker build -t pythondiscord/django:latest . + - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.gitlab.com - docker push registry.gitlab.com/python-discord/projects/site/django:latest only: - master -- cgit v1.2.3