From a6fd5a45fae8fa12a3eb07a2c7ed4ed5b6c2b411 Mon Sep 17 00:00:00 2001 From: Florent Sorel Date: Wed, 12 Nov 2025 13:38:01 +0100 Subject: [PATCH 1/2] feat: add gha for dockerfile --- .github/workflows/dockerfile.yml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/dockerfile.yml diff --git a/.github/workflows/dockerfile.yml b/.github/workflows/dockerfile.yml new file mode 100644 index 00000000..7bca8c91 --- /dev/null +++ b/.github/workflows/dockerfile.yml @@ -0,0 +1,35 @@ +# DO NOT EDIT: BEGIN +# This snippet has been inserted automatically by mobsuccessbot, do not edit! +# If changes are needed, update the action yamllint in +# https://github.com/mobsuccess-devops/github-mobsuccess-policy +name: Dockerfile + +on: + merge_group: + types: + - checks_requested + pull_request: + types: + - opened + - synchronize + - reopened + push: + branches: + - master + - prod + +jobs: + dockerfile: + name: Dockerfile + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - name: Dockerfile lint + uses: hadolint/hadolint-action@v3.3.0 + with: + dockerfile: "Dockerfile*" + recursive: true + format: tty + override-info: DL3008,DL3018 + failure-threshold: warning +# DO NOT EDIT: END From ecd3969f014e560e9a57aff90ac470bba73ab723 Mon Sep 17 00:00:00 2001 From: Florent Sorel Date: Wed, 12 Nov 2025 14:28:10 +0100 Subject: [PATCH 2/2] move file in sample directory --- {.github => sample}/workflows/dockerfile.yml | 5 ----- 1 file changed, 5 deletions(-) rename {.github => sample}/workflows/dockerfile.yml (70%) diff --git a/.github/workflows/dockerfile.yml b/sample/workflows/dockerfile.yml similarity index 70% rename from .github/workflows/dockerfile.yml rename to sample/workflows/dockerfile.yml index 7bca8c91..25035a9e 100644 --- a/.github/workflows/dockerfile.yml +++ b/sample/workflows/dockerfile.yml @@ -1,7 +1,3 @@ -# DO NOT EDIT: BEGIN -# This snippet has been inserted automatically by mobsuccessbot, do not edit! -# If changes are needed, update the action yamllint in -# https://github.com/mobsuccess-devops/github-mobsuccess-policy name: Dockerfile on: @@ -32,4 +28,3 @@ jobs: format: tty override-info: DL3008,DL3018 failure-threshold: warning -# DO NOT EDIT: END