Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: upgrade actions/checkout to v2
  • Loading branch information
Shohei Ueda authored and GitHub committed Dec 14, 2019
1 parent fb16fe1 commit 26c5cb8
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/docker-image-ci.yml
Expand Up @@ -16,31 +16,25 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions/checkout@v2

- name: build
env:
DOCKER_IMAGE: docker.pkg.github.com/${{ github.repository }}/action:latest
run: |
docker build . --file Dockerfile --tag ${DOCKER_IMAGE} ||
(echo -e "\e[31m[${GITHUB_WORKFLOW}] failed to build\e[m" && exit 1)
docker build . --file Dockerfile --tag ${DOCKER_IMAGE}
shellcheck:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions/checkout@v2

- name: shellcheck
run: shellcheck ./entrypoint.sh

hadolint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions/checkout@v2
- run: brew install hadolint
- run: hadolint ./Dockerfile

0 comments on commit 26c5cb8

Please sign in to comment.