Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jun 7, 2024
1 parent ff6ca11 commit db28fba
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ name: Lint
"on": push

jobs:
vsns:
runs-on: ubuntu-22.04

outputs:
# renovate datasource: docker, depName: hadolint/hadolint
hadolint: 2.12.0

build:
name: Lint

runs-on: ubuntu-22.04

env:
# renovate datasource: docker, depName: hadolint/hadolint
hadolint-version: 2.12.0
needs: [vsns]

steps:
- name: Checkout
Expand All @@ -23,7 +28,7 @@ jobs:
npm run dist
- name: Lint Dockerfile
run: docker run --rm -i hadolint/hadolint:${{ env.hadolint-version }} < Dockerfile
run: docker run --rm -i hadolint/hadolint:${{ needs.vsns.outputs.hadolint }} < Dockerfile

- name: Check if build left artifacts
run: git diff --exit-code

0 comments on commit db28fba

Please sign in to comment.