Files
postmoogle/.gitlab-ci.yml
2023-10-17 16:37:44 +03:00

25 lines
385 B
YAML

stages:
- test
- release
default:
image: registry.gitlab.com/etke.cc/base/build
variables:
PLATFORMS: linux/arm64/v8,linux/amd64
test:
stage: test
script:
- just lint
- just test
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- /root/cache/
docker:
stage: release
only: ['main', 'tags']
services: ['docker:dind']
script:
- just login docker