Hadolint
This commit is contained in:
parent
2b0162b667
commit
e756c568e1
26
.github/workflows/master.yml
vendored
26
.github/workflows/master.yml
vendored
@ -1,21 +1,7 @@
|
|||||||
name: "Master release"
|
name: "Latest tag from master branch"
|
||||||
env:
|
env:
|
||||||
DOCKERHUB_REPOSITORY: serjs/go-socks5-proxy
|
DOCKERHUB_REPOSITORY: serjs/go-socks5-proxy
|
||||||
|
|
||||||
on: pull_request
|
|
||||||
name: hadolint action
|
|
||||||
jobs:
|
|
||||||
hadolintOnPr:
|
|
||||||
name: hadolint on pr
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- name: hadolint on pr
|
|
||||||
uses: burdzwastaken/hadolint-action@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
HADOLINT_ACTION_DOCKERFILE_FOLDER: .
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: master
|
branches: master
|
||||||
@ -23,6 +9,16 @@ on:
|
|||||||
branches: master
|
branches: master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
hadolint:
|
||||||
|
name: hadolint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: hadolint
|
||||||
|
uses: burdzwastaken/hadolint-action@master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
HADOLINT_ACTION_DOCKERFILE_FOLDER: .
|
||||||
buildx:
|
buildx:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user