This commit is contained in:
Aine
2022-08-21 18:41:35 +03:00
commit c4b7a16e21
22 changed files with 1745 additions and 0 deletions

30
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,30 @@
stages:
- test
- release
lint:
stage: test
only: ['main']
image: registry.gitlab.com/etke.cc/base
script:
- make lint
unit:
stage: test
only: ['main']
image: registry.gitlab.com/etke.cc/base
script:
- make test
docker:
stage: release
only: ['main', 'tags']
services:
- docker:dind
image: jdrouet/docker-with-buildx:stable
before_script:
- apk --no-cache add make
script:
- make login docker
tags:
- docker