godash/.gitlab/_common.gitlab-ci.yml
2023-08-02 20:32:56 +02:00

25 lines
574 B
YAML

variables:
LATEST_IMAGE: '$CI_REGISTRY_IMAGE:latest'
DOCKER_VERSION: '24.0.5'
GOLANG_VERSION: '1.20'
NODE_VERSION: 'lts'
ALPINE_VERSION: '3'
DEBIAN_VERSION: '12'
TELEPORT_VERSION: '13.3.0'
PRODUCTION_URL: 'https://home.unjx.de'
image: docker:$DOCKER_VERSION-git
.login_registry:
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
.go-cache:
variables:
GOPATH: $CI_PROJECT_DIR/.go
before_script:
- mkdir -p .go
- export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
cache:
paths:
- .go/pkg/mod/