Skip to content
Snippets Groups Projects
Commit d16b7a1f authored by Rohith's avatar Rohith
Browse files

- creating version v1.2.8

- removing the gitlab build
parent fa57d3fb
No related branches found
No related tags found
No related merge requests found
variables:
REGISTRY: quay.io
NAME: go-keycloak-proxy
GOVERSION: 1.7.0
stages:
- tests
- build
- deploy
tests:
stage: tests
image: golang:${GOVERSION}
before_script:
- mkdir -p /go/src/github.com/gambol99
- ln -sf /builds/go/keycloak-proxy /go/src/github.com/gambol99
- cd /go/src/github.com/gambol99/keycloak-proxy
script:
- make deps
- make test
build:
stage: build
image: golang:${GOVERSION}
before_script:
- mkdir -p /go/src/github.com/gambol99
- ln -sf /builds/go/keycloak-proxy /go/src/github.com/gambol99
- cd /go/src/github.com/gambol99/keycloak-proxy
script:
- make deps
- make static
artifacts:
expire_in: 1d
paths:
- bin/
only:
- master
- /^v([0-9]{1,3}[.]?){3}.*$/
deploy:
stage: deploy
script:
- export VERSION=$CI_BUILD_REF_NAME
- '[[ "$VERSION" == "master" ]] && VERSION="latest"'
- docker login -u ${REGISTRY_USER} -p ${REGISTRY_TOKEN} -e ${REGISTRY_EMAIL} ${REGISTRY}
- docker build -t ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION} .
- docker push ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION}
- docker rmi ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION}
only:
- master
- /^v([0-9]{1,3}[.]?){3}.*$/
#### **1.2.8**
FIXES:
* Fixed a bug in the --cookie-domain options
* Added unit test for the cookie-domain options
* Switched to using set rather than add to the headers
#### **1.2.7** #### **1.2.7**
FIXES: FIXES:
......
...@@ -24,7 +24,7 @@ import ( ...@@ -24,7 +24,7 @@ import (
) )
var ( var (
release = "v1.2.7" release = "v1.2.8"
gitsha = "no gitsha provided" gitsha = "no gitsha provided"
version = release + " (git+sha: " + gitsha + ")" version = release + " (git+sha: " + gitsha + ")"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment