chore: update Go toolchain and Nix configuration

This commit is contained in:
aykhans committed 2026-09-03 12:55:35 +04:00
1 parent 73285b66b5
commit 6e984f039c
8 files changed
+13 -12

No files matched your search

+3 -2
View File
@@ -3,6 +3,8 @@ version: "3"
vars:
BIN_DIR: ./bin
GO_VERSION:
sh: sed -n 's/^go //p' go.mod
GOLANGCI_LINT_VERSION: v2.13.2
GOLANGCI: "{{.BIN_DIR}}/golangci-lint-{{.GOLANGCI_LINT_VERSION}}"
@@ -87,7 +89,6 @@ tasks:
vars:
IMAGE_NAME: '{{.IMAGE_NAME | default "sarin"}}'
TAG: '{{.TAG | default "latest"}}'
GO_VERSION: '{{.GO_VERSION | default ""}}'
VERSION:
sh: git describe --tags --always
GIT_COMMIT:
@@ -95,7 +96,7 @@ tasks:
cmds:
- >-
docker build
{{if .GO_VERSION}}--build-arg GO_VERSION={{.GO_VERSION}}{{end}}
--build-arg GO_VERSION={{.GO_VERSION}}
--build-arg VERSION={{.VERSION}}
--build-arg GIT_COMMIT={{.GIT_COMMIT}}
-t {{.IMAGE_NAME}}:{{.TAG}}