diff options
author | 2018-09-05 20:07:10 +0200 | |
---|---|---|
committer | 2018-09-05 20:07:10 +0200 | |
commit | 1a9215ac4b3b859a8f9b96fdf64ea05ae8cdcdf0 (patch) | |
tree | d4f0c7b62320b4de82d028172a258cec04ba7dd0 /.gitlab-ci.yml | |
parent | Login to proper registry. (diff) |
Add `nging` for static files.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb5363c9..78b6eda9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,11 +108,19 @@ push-django: image: docker:stable-git stage: deploy script: - - docker build -t pythondiscord/django:latest . - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin + - docker build -t pythondiscord/django:latest . - docker push pythondiscord/django:latest only: - master - django tags: - docker + +push-nging: + image: docker:stable-git + stage: deploy + script: + - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin + - docker build -t pythondiscord/nging:latest . + - docker push pythondiscord/nging:latest |