fix(ci): make sure Git LFS is pulled
This commit is contained in:
parent
1d203dc5c2
commit
2af8215778
2 changed files with 8 additions and 0 deletions
|
@ -57,11 +57,16 @@ steps:
|
||||||
- name: go-cache
|
- name: go-cache
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
|
- apk add -U --no-cache git-lfs
|
||||||
|
- git lfs install
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
- git lfs pull
|
||||||
|
- docker login -u prskr -p "$${GITEA_TOKEN}" code.icb4dc0.de
|
||||||
- goreleaser release --clean
|
- goreleaser release --clean
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
|
network_mode: host
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: go-cache
|
- name: go-cache
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
project_name: goveal
|
project_name: goveal
|
||||||
|
gitea_urls:
|
||||||
|
api: https://code.icb4dc0.de/api/v1
|
||||||
|
download: https://code.icb4dc0.de
|
||||||
builds:
|
builds:
|
||||||
- id: goveal
|
- id: goveal
|
||||||
main: ./cmd/goveal/
|
main: ./cmd/goveal/
|
||||||
|
|
Loading…
Reference in a new issue