Попытка исправить анализатор докер контейнеров
All checks were successful
Lint / Run linters (push) Successful in 53s
All checks were successful
Lint / Run linters (push) Successful in 53s
This commit is contained in:
parent
cdf7dc9712
commit
c7fe9643ff
@ -7,6 +7,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
REGISTRY: git.zetcraft.ru
|
REGISTRY: git.zetcraft.ru
|
||||||
CONTEXT: HackathonPreparing/HackathonPreparing.ApiService
|
CONTEXT: HackathonPreparing/HackathonPreparing.ApiService
|
||||||
|
DOCKLE_HOST: "unix:///var/run/docker.sock"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
@ -18,6 +19,8 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Print Gitea Server URL
|
||||||
|
run: echo "Gitea Server URL: ${{ env.GITEA_SERVER_URL }}"
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
@ -38,14 +41,6 @@ jobs:
|
|||||||
ignore-unfixed: true
|
ignore-unfixed: true
|
||||||
vuln-type: 'os,library'
|
vuln-type: 'os,library'
|
||||||
severity: 'CRITICAL,HIGH'
|
severity: 'CRITICAL,HIGH'
|
||||||
- name: Run dockle
|
|
||||||
uses: goodwithtech/dockle-action@main
|
|
||||||
with:
|
|
||||||
image: '${{ env.DOCKER_METADATA_OUTPUT_TAGS }}'
|
|
||||||
format: 'list'
|
|
||||||
exit-code: '1'
|
|
||||||
exit-level: 'warn'
|
|
||||||
ignore: 'CIS-DI-0001,CIS-DI-0010,DKL-DI-0006'
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user