summary refs log tree commit diff
path: root/.gitlab-ci.yml
blob: 65cc4b87b710accdc78ab06109323a5a880857e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
stages:
  - nix

nixos:
  tags: ["nix"]
  stage: nix
  script:
  - nix flake check
  - nix build .#dockerImage
  - ./result | docker load
  - docker tag vavbot $CI_REGISTRY_IMAGE
  - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD  $CI_REGISTRY
  - docker push $CI_REGISTRY_IMAGE