This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
инструмент_gitlab [2026/03/19 20:38] val |
инструмент_gitlab [2026/04/10 17:37] (current) val [Пример CI с использованием контейнеров] |
||
|---|---|---|---|
| Line 298: | Line 298: | ||
| * [[https://docs.gitlab.com/runner/install/linux-manually.html|Install GitLab Runner manually on GNU/Linux]] | * [[https://docs.gitlab.com/runner/install/linux-manually.html|Install GitLab Runner manually on GNU/Linux]] | ||
| - | * [[https://val.bmstu.ru/unix/Git/gitlab-runner_amd64.deb]] (16.10.0) | + | * [[https://val.bmstu.ru/unix/Git/gitlab-runner_amd64.deb]] (17.3.1-1) |
| <code> | <code> | ||
| Line 813: | Line 813: | ||
| # stage: scan | # stage: scan | ||
| # image: | # image: | ||
| - | # name: aquasec/trivy:latest | + | # name: ghcr.io/aquasecurity/trivy |
| # entrypoint: [""] | # entrypoint: [""] | ||
| # variables: | # variables: | ||
| Line 821: | Line 821: | ||
| # TRIVY_CACHE_DIR: ".trivycache/" | # TRIVY_CACHE_DIR: ".trivycache/" | ||
| # script: | # script: | ||
| - | # - trivy image --exit-code 1 --insecure $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA | + | # - trivy image --exit-code 1 --severity HIGH --insecure $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA |
| # cache: | # cache: | ||
| # paths: | # paths: | ||
| # - ".trivycache/" | # - ".trivycache/" | ||
| + | # except: | ||
| + | # - tags | ||
| + | # tags: | ||
| + | # - build | ||
| #Deploy: | #Deploy: | ||