From 30a8c05e34f1fccadd1a72105062873dfd351f9a Mon Sep 17 00:00:00 2001 From: mkelcik Date: Fri, 28 Apr 2023 23:35:01 +0200 Subject: [PATCH] dockerfile lint --- .github/workflows/quality-checks.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index fbe671d..3418a0b 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -8,6 +8,16 @@ on: - main pull_request: jobs: + docker-lint: + name: Dockerfile lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: addnab/docker-run-action@v3 + image: hadolint/hadolint:latest-debian + options: -v ${{ github.workspace }}:/ + run: | + hadolint Dockerfile golangci: name: Static code check runs-on: ubuntu-latest @@ -68,13 +78,3 @@ jobs: echo "Failed" exit 1 fi - docker-lint: - name: Dockerfile lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: addnab/docker-run-action@v3 - image: hadolint/hadolint:latest-debian - options: -v ${{ github.workspace }}:/ - run: | - hadolint Dockerfile \ No newline at end of file