Commit 658f9666 authored by zauberstuhl's avatar zauberstuhl
Browse files

Add automated building for docker images

parent efcf405f
# you will find the build script
# for the image in ci/docker/Dockerfile
image: zauberstuhl/ganggo-ci:1.9-stretch
# you will find the build script for the image
# in
image: ganggo/ganggo-ci:1.9-stretch
- postgres:latest
- mysql:latest
......@@ -14,6 +14,7 @@ stages:
- test
- build
- deploy
- review
- export VERSION=$(git tag -l --sort=-v:refname |head -n1)
- export PROJECT_PATH=$GOPATH/src/
......@@ -130,3 +131,15 @@ deploy artifacts to bintray:
- linux:arm:7
- /^v[\d\.]+-\w.*$/
trigger other pipelines:
- export VERSION=$(git tag -l --sort=-v:refname |head -n1)
stage: review
# ID 99
- curl -X POST -F "token=$CI_JOB_TOKEN" -F "ref=master" -F "variables[GVERSION]=$VERSION"
# XXX trigger updating documentation
- deploy artifacts to bintray
- /^v[\d\.]+-\w.*$/
FROM golang:1.9-stretch
RUN curl -sL | bash -
RUN apt-get install -y nodejs
# armhf c cross compiler
RUN apt-get install -y gcc-arm-linux-gnueabihf
# windows 64 and 32 c/c++ cross compiler
RUN apt-get install -y gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
RUN apt-get install -y g++-mingw-w64-x86-64 g++-mingw-w64-i686
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment