feat: Add emptyCommits option (#22)

* feat: Add emptyCommits option (@kingofzeal)
* docs: Update README about emptyCommits option (@kingofzeal)
* gha: Update trigger of docker image ci workflow (@peaceiris)

Close #21
This commit is contained in:
James McCollum
2019-09-14 13:49:20 -05:00
committed by Shohei Ueda
parent dea149a296
commit 241ef9fea0
4 changed files with 37 additions and 16 deletions

View File

@@ -1,10 +1,6 @@
name: docker image ci
on:
push:
branches:
- master
- 'release-v*'
on: push
jobs:
test:
@@ -20,16 +16,6 @@ jobs:
docker build . --file Dockerfile --tag ${DOCKER_IMAGE} ||
(echo -e "\e[31m[${GITHUB_WORKFLOW}] failed to build\e[m" && exit 1)
# - name: push latest image
# if: endsWith(github.ref, 'master')
# env:
# DOCKER_IMAGE: docker.pkg.github.com/${{ github.repository }}/action:latest
# PKG_GITHUB_TOKEN: ${{ secrets.PKG_GITHUB_TOKEN }}
# run: |
# echo ${PKG_GITHUB_TOKEN} | docker login docker.pkg.github.com -u ${GITHUB_ACTOR} --password-stdin &&
# docker push ${DOCKER_IMAGE} &&
# docker logout
shellcheck:
runs-on: ubuntu-18.04
steps: