Skip to content

Commit

Permalink
fix checkov lint
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek committed Apr 29, 2024
1 parent 332fd26 commit f407128
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: ci

on:
permissions: read-all

on:
pull_request:

jobs:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: Release Drafter

permissions:
contents: read


on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Release

permissions: read-all

on:
push:
branches:
Expand All @@ -9,6 +11,10 @@ on:

jobs:
docker-build-push:
permissions:
contents: read
id-token: write
packages: write
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ COPY self-heal.sh /self-heal.sh

CMD ["/bin/sh"]

#checkov:skip=CKV_DOCKER_2:We don't need Docker HEALTHCHECK in Kubernetes
#checkov:skip=CKV_DOCKER_3:inherits curl_user from base image

ENTRYPOINT ["/self-heal.sh"]

0 comments on commit f407128

Please sign in to comment.