Fix build version in Docker.

Signed-off-by: Odyssey <odyssey346@disroot.org>
このコミットが含まれているのは:
Odyssey 2022-12-03 19:33:33 +01:00
コミット 3a29d0cf1b
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -5,7 +5,7 @@ pipeline:
image: golang:1.19.3-alpine
commands:
- go mod download
- go build .
- go build -ldflags "-X codeberg.org/gothub/gothub/pages.Version=${CI_COMMIT_SHA:0:8}"
dockerize:
when:
branch: [main, master]