Update go version used from 1.10.2 to 1.11.2 to match one used by k8s
This commit is contained in:
parent
0da431941b
commit
fc98351e02
|
|
@ -6,7 +6,7 @@ services:
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.10.2
|
||||
- 1.11.2
|
||||
|
||||
before_install:
|
||||
- sudo apt-get install libseccomp-dev -qq
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang:1.10.2
|
||||
FROM golang:1.11.2
|
||||
LABEL maintainer="Marcin Wielgus <mwielgus@google.com>"
|
||||
|
||||
ENV GOPATH /gopath/
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ set -euo pipefail
|
|||
|
||||
GO_VERSION=($(go version))
|
||||
|
||||
if ! echo "${GO_VERSION[2]}" | grep -Eq 'go1.9|1.10'; then
|
||||
if ! echo "${GO_VERSION[2]}" | grep -Eq 'go1.9|1.10|1.11'; then
|
||||
echo "Unsupported go version ${GO_VERSION}"
|
||||
return 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue