Commit 625974fe authored by Noah Prail's avatar Noah Prail

use Golang 12

parent e6961e77
Pipeline #9249 passed with stages
in 4 minutes and 30 seconds
......@@ -8,11 +8,11 @@ build:
stage: build
tags:
- docker
image: golang:1.10-alpine
image: golang:1.12-alpine
before_script:
- apk add --no-cache git gcc musl-dev
- if [ -n "${VERSION}" ]; then export RELEASE=true && echo "Release Version"; fi
- export VERSION=${VERSION:-"0.10.14"}
- export VERSION=${VERSION:-"0.11.5"}
script:
- echo "Building ${VERSION}"
- sh scripts/builder.sh
......@@ -31,7 +31,7 @@ package_deb:
dependencies:
- build
before_script:
- if [ -n "${VERSION}" ]; then export RELEASE=true && echo "Release Version"; else export VERSION=${VERSION:-"0.10.14"}-${CI_PIPELINE_ID}; fi
- if [ -n "${VERSION}" ]; then export RELEASE=true && echo "Release Version"; else export VERSION=${VERSION:-"0.11.5"}-${CI_PIPELINE_ID}; fi
- export VERSION=${VERSION}
script:
- cp bin/caddy . && rm -rf bin/
......@@ -63,7 +63,7 @@ deploy_deb:
- echo -e $GPG_KEY > gpg.key
- gpg --allow-secret-key-import --import gpg.key
- if [ -n "${VERSION}" ]; then export RELEASE=true && echo "Release Version"; fi
- export VERSION=${VERSION:-"0.10.14"}
- export VERSION=${VERSION:-"0.11.5"}
script:
- bash scripts/deb-publish.sh
......
......@@ -5,7 +5,7 @@
git config --global user.email "bot@event1.io"
git config --global user.name "eventOne Commit Bot"
VERSION=${VERSION:-"0.10.14"}
VERSION=${VERSION:-"0.11.5"}
PLUGINS=$(cat plugins.txt)
CADDY_GITHUB=mholt/caddy
......
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