aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-05 19:24:50 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-05 19:24:50 +0200
commitb990cee933ff80a506836857e01af68d5e9cf3f0 (patch)
tree46e0e5a84a6f3a2c4589b892ecae3f65fbf6ed30
parentAdd `dockerapp` file. (diff)
Push to Docker Hub.
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
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