Ещё исправления Dockle
All checks were successful
Lint / Run linters (push) Successful in 37s
Build and deploy / Publish image (push) Successful in 28s
Build and deploy / Deploy image (push) Successful in 10s

This commit is contained in:
Sergey Karmanov 2024-06-21 11:50:37 +03:00
parent 39b8526c35
commit 8d56a658f6
2 changed files with 9 additions and 23 deletions

View File

@ -1,22 +0,0 @@
name: Dockle
on:
workflow_run:
workflows: ["Create and publish a Docker image"]
types:
- completed
jobs:
run-linters:
name: Run dockle
runs-on: ubuntu-latest
steps:
- name: Run dockle
uses: goodwithtech/dockle-action@main
with:
image: ${{ env.GITHUB_SERVER_URL }}/${{ gitea.repository }}
format: 'list'
exit-code: '1'
exit-level: 'warn'
ignore: 'CIS-DI-0001,CIS-DI-0010,DKL-DI-0006'

View File

@ -1,4 +1,4 @@
name: Create and publish a Docker image
name: Build and deploy
on:
push:
@ -46,6 +46,14 @@ jobs:
- name: Push
run: |
docker push '${{ env.DOCKER_METADATA_OUTPUT_TAGS }}'
- 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'
deploy:
needs: build-and-push-image