From e756c568e118a4f9a08a77017cc05fa224cbbd1b Mon Sep 17 00:00:00 2001 From: Sergey Bogatyrets Date: Sat, 21 Mar 2020 00:51:30 +0300 Subject: [PATCH] Hadolint --- .github/workflows/master.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 3a765ad..f8d1efa 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -1,21 +1,7 @@ -name: "Master release" +name: "Latest tag from master branch" env: 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: pull_request: branches: master @@ -23,6 +9,16 @@ on: branches: master 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: runs-on: ubuntu-latest steps: