mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
build(tags): remove redundant build tag ui_base (#857)
It was not used for UI, it had become a CLI dependency with the same functionality as search Signed-off-by: Andrei Aaron <andaaron@cisco.com>
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
cd $GITHUB_WORKSPACE
|
||||
for i in $(find . -type f \( -name "*.go" -not -name "*_test.go" -not -name "generated.go" \)); do
|
||||
echo $i;
|
||||
gobco -test '-tags=sync,search,scrub,metrics,ui_base,containers_image_openpgp' $i;
|
||||
gobco -test '-tags=sync,search,scrub,metrics,containers_image_openpgp' $i;
|
||||
gobco -test '-tags=minimal,containers_image_openpgp' $i;
|
||||
done
|
||||
env:
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
GOFLAGS: "-tags=sync,search,scrub,metrics,ui_base,containers_image_openpgp"
|
||||
GOFLAGS: "-tags=sync,search,scrub,metrics,containers_image_openpgp"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
# Optional: golangci-lint command line arguments.
|
||||
# args: --issues-exit-code=0
|
||||
args: --config ./golangcilint.yaml --enable-all --build-tags debug,needprivileges,sync,scrub,search,metrics,ui_base,containers_image_openpgp,lint ./cmd/... ./pkg/...
|
||||
args: --config ./golangcilint.yaml --enable-all --build-tags debug,needprivileges,sync,scrub,search,metrics,containers_image_openpgp,lint ./cmd/... ./pkg/...
|
||||
|
||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||
# only-new-issues: true
|
||||
|
||||
Reference in New Issue
Block a user