aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-04 22:12:36 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-04 22:12:36 +0200
commitfb8dbf6404e85bc65262ba41438295d451aca47a (patch)
treeb35d40974e4378f2e9d14377bedafb91ee38d000 /.gitlab-ci.yml
parentSet up GitLab CI properly. (diff)
Add missing argument.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d5d9b5ff..52b39191 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,11 +104,11 @@ pages:
- public
expire_in: 30 days
-upload newest docker image:
+push docker image:
image: docker:stable-git
stage: deploy
script:
- - docker build -t registry.gitlab.com/python-discord/projects/site/django:latest
+ - 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 push registry.gitlab.com/python-discord/projects/site/django:latest
only: