mirror of
https://github.com/elyby/chrly.git
synced 2025-01-08 21:13:56 +05:30
Компилируем на golang:1.9-alpine image
This commit is contained in:
parent
645f6ac694
commit
d9aeaba627
@ -14,8 +14,9 @@ variables:
|
|||||||
CONTAINER_IMAGE: registry.ely.by/elyby/skinsystem
|
CONTAINER_IMAGE: registry.ely.by/elyby/skinsystem
|
||||||
|
|
||||||
.golang_template: &setup_go_environment
|
.golang_template: &setup_go_environment
|
||||||
image: golang:1.9.0-stretch
|
image: golang:1.9.0-alpine3.6
|
||||||
before_script:
|
before_script:
|
||||||
|
- apk add --no-cache git
|
||||||
- mkdir -p $GOPATH/src/$CI_PROJECT_NAMESPACE
|
- mkdir -p $GOPATH/src/$CI_PROJECT_NAMESPACE
|
||||||
- cp -r $(pwd) $GOPATH/src/$CI_PROJECT_PATH
|
- cp -r $(pwd) $GOPATH/src/$CI_PROJECT_PATH
|
||||||
- cd $GOPATH/src/$CI_PROJECT_PATH
|
- cd $GOPATH/src/$CI_PROJECT_PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user