25 lines
574 B
YAML
25 lines
574 B
YAML
variables:
|
|
LATEST_IMAGE: '$CI_REGISTRY_IMAGE:latest'
|
|
DOCKER_VERSION: '24.0.5'
|
|
GOLANG_VERSION: '1.21'
|
|
NODE_VERSION: 'lts'
|
|
ALPINE_VERSION: '3'
|
|
DEBIAN_VERSION: '12'
|
|
TELEPORT_VERSION: '13.3.7'
|
|
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/
|