Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abcbd647 authored by Felix Ableitner's avatar Felix Ableitner
Browse files

Added Gitlab CI config

parent d8ae173b
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+18 −0
Original line number Diff line number Diff line
image: docker:stable

# When using dind, it's wise to use the overlayfs driver for
# improved performance.
variables:
  DOCKER_DRIVER: overlay2

services:
- docker:dind

build:
  only:
  - tags
  stage: build
  script:
  - docker build . -t "registry.gitlab.e.foundation:5000/e/infra/docker-create-account:$CI_COMMIT_TAG"
  - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.e.foundation:5000
  - docker push "registry.gitlab.e.foundation:5000/e/infra/docker-create-account:$CI_COMMIT_TAG"