Ещё исправления Dockle
This commit is contained in:
parent
39b8526c35
commit
8d56a658f6
@ -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'
|
|
@ -1,4 +1,4 @@
|
|||||||
name: Create and publish a Docker image
|
name: Build and deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -46,6 +46,14 @@ jobs:
|
|||||||
- name: Push
|
- name: Push
|
||||||
run: |
|
run: |
|
||||||
docker push '${{ env.DOCKER_METADATA_OUTPUT_TAGS }}'
|
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:
|
deploy:
|
||||||
needs: build-and-push-image
|
needs: build-and-push-image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user