godash/.gitlab/_common.gitlab-ci.yml

26 lines
574 B
YAML
Raw Normal View History

2023-06-27 14:56:31 +02:00
variables:
LATEST_IMAGE: '$CI_REGISTRY_IMAGE:latest'
2023-08-02 20:32:56 +02:00
DOCKER_VERSION: '24.0.5'
2023-06-27 14:56:31 +02:00
GOLANG_VERSION: '1.20'
2023-08-02 20:32:56 +02:00
NODE_VERSION: 'lts'
2023-06-27 14:56:31 +02:00
ALPINE_VERSION: '3'
DEBIAN_VERSION: '12'
2023-08-30 09:04:05 +02:00
TELEPORT_VERSION: '13.3.7'
2023-06-27 15:55:35 +02:00
PRODUCTION_URL: 'https://home.unjx.de'
2023-06-27 14:56:31 +02:00
image: docker:$DOCKER_VERSION-git
2023-06-21 17:23:40 +02:00
.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/