9 Commits

Author SHA1 Message Date
Ludovic Fernandez
93feed1d63
fix: update base images (#2661) 2022-03-20 20:44:52 +01:00
Darlez
d3705d0e8b
Build docker images with go1.17 (#2188) 2021-08-19 16:11:34 +02:00
Ludovic Fernandez
123da8e6c7
Add go1.16 support (#1740) 2021-02-17 05:17:41 +01:00
Aliaksandr Mianzhynski
6038573c5f
Compile binaries with -trimpath enabled (#1688) 2021-02-06 15:21:24 +01:00
Tam Mach
dc2d6b5119
build(docker): Fix version details in docker image (#1471)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 41s
CI / go-mod (push) Failing after 17m9s
CI / golangci-lint (push) Failing after 15m36s
Release a tag / release (push) Failing after 15m34s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.13) (push) Has been cancelled
CI / tests-on-unix (1.14) (push) Has been cancelled
CI / tests-on-unix (1.15) (push) Has been cancelled
CI / check_generated (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
* build(docker): Fix version details in docker image

As part of #1383, multi-arch docker build was supported. However,
ldflags for version details was missing.

This commit is to add -ldflags as part of Docker build. I take this chance
to refactor github action as well.

Fixes #1468

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-28 09:03:51 +11:00
odidev
3368a55627
Releasing docker image for arm64 (#1383) 2020-10-18 17:00:58 +11:00
Tam Mach
18fd36bdd1
build(golang1.15): Upgrade to golang 1.15 for smaller binary (#1303)
Golang 1.15 comes to few improvements, one of them is to have smaller
binary.

This PR is to make golang 1.15 as default version in CI, I also update
Docker based image to golang:1.15* as well.

Two issues faced with golang 1.15:
- Conflict between -v in `golangci-lint` and `go test`. Update to --verbose
to avoid the same. [1]
- `nolintlint_unused.go` testdata is not matching regex. Correct by adding one
space after //

[1]: https://github.com/golang/go/issues/40763

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-08-19 09:05:32 +10:00
proton
b433acdce6
Bump Dockerfile to golang:1.14 2020-02-28 21:52:54 +01:00
Trevor Pounds
605c9c2954 Add Alpine Linux images (#745)
* Add Alpine Linux images.

Fixes #453
Fixes #528

* Move Dockerfiles to build directory.
2019-09-30 12:51:57 +03:00