This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 387
65 lines (63 loc) · 2.37 KB
/
hadolint-analysis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: hadolint-analysis-workflow
on:
push:
branches:
- main
- release/**
pull_request:
branches:
- main
- release/**
paths:
- '**/Dockerfile'
jobs:
hadolint-callback:
name: Lint callback Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull HaDoLint image
run: docker pull hadolint/hadolint
- name: Lint callback Dockerfile
run: docker run --rm --interactive hadolint/hadolint hadolint --ignore DL3059 - < ./services/callback/Dockerfile
hadolint-distribution:
name: Lint distribution Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull HaDoLint Image
run: docker pull hadolint/hadolint
- name: Lint distribution Dockerfile
run: docker run --rm --interactive hadolint/hadolint hadolint --ignore DL3059 - < ./services/distribution/Dockerfile
hadolint-download:
name: Lint download Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull HaDoLint Image
run: docker pull hadolint/hadolint
- name: Lint download Dockerfile
run: docker run --rm --interactive hadolint/hadolint hadolint --ignore DL3059 - < ./services/download/Dockerfile
hadolint-submission:
name: Lint submission Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull HaDoLint Image
run: docker pull hadolint/hadolint
- name: Lint submission Dockerfile
run: docker run --rm --interactive hadolint/hadolint hadolint --ignore DL3059 - < ./services/submission/Dockerfile
hadolint-upload:
name: Lint upload Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull HaDoLint Image
run: docker pull hadolint/hadolint
- name: Lint upload Dockerfile
run: docker run --rm --interactive hadolint/hadolint hadolint --ignore DL3059 - < ./services/upload/Dockerfile