update justfile

This commit is contained in:
Aine
2023-10-02 22:26:39 +03:00
parent 987e126c9d
commit b7f34d8479
2 changed files with 3 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ lint:
stage: test
image: registry.gitlab.com/etke.cc/base/build
script:
- just try
- just lint
unit:

View File

@@ -31,7 +31,7 @@ lintfix:
# run unit tests
test:
@go test -coverprofile=cover.out ./...
@go test -cover -coverprofile=cover.out -coverpkg=./... -covermode=set ./...
@go tool cover -func=cover.out
-@rm -f cover.out
@@ -50,4 +50,4 @@ login:
# docker build
docker:
docker buildx create --use
docker buildx build --platform linux/arm64/v8,linux/amd64 --push -t {{ gitlab_image }} -t {{ etke_image }} .
docker buildx build --pull --platform linux/arm64/v8,linux/amd64 --push -t {{ gitlab_image }} -t {{ etke_image }} .