diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
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: |