gha: remove docker ci workflow
This commit is contained in:
parent
ded0a1ada3
commit
fee1e1cc48
1 changed files with 0 additions and 26 deletions
26
.github/workflows/push.yml
vendored
26
.github/workflows/push.yml
vendored
|
@ -1,26 +0,0 @@
|
|||
name: Push workflow
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Docker build and print Hugo version
|
||||
env:
|
||||
DOCKER_IMAGE: ${{ github.repository }}:${{ github.sha }}
|
||||
run: |
|
||||
docker build . --file Dockerfile --tag ${DOCKER_IMAGE} &&
|
||||
docker run ${DOCKER_IMAGE} version ||
|
||||
(echo -e "\e[31m[${GITHUB_WORKFLOW}] failed to build\e[m" && exit 1)
|
||||
|
||||
hadolint:
|
||||
runs-on: macOS-10.14
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: hadolint
|
||||
run: |
|
||||
brew install hadolint
|
||||
hadolint ./Dockerfile
|
Loading…
Reference in a new issue